home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d17 / 4pr400.arc / 4PRINT.DOC next >
Text File  |  1991-03-11  |  254KB  |  5,616 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.                                             
  20.                            ▄                         TM 
  21.                            █  █  █▀▀█      ▀       █ 
  22.                            █▄▄█▄ █▄▄█ █▀▀█ █ █▀▀█ ▀█▀
  23.                               █  █    █    █ █  █  █ 
  24.                               ▀  ▀    ▀    ▀ ▀  ▀  ▀▀
  25.  
  26.                            For the HP LaserJet/DeskJet
  27.                              and compatible printers
  28.  
  29.  
  30.                                    Version 4.0
  31.  
  32.  
  33.                                 Copyright 1991 by
  34.                             Korenthal Associates, Inc.
  35.                                All Rights Reserved
  36.  
  37.  
  38.  
  39.  
  40.  
  41.                                ┌─────────┐
  42.                          ┌─────┴───┐     │               (R)
  43.                        ──│         │o    │──────────────────
  44.                          │   ┌─────┴╨──┐ │  Association of
  45.                          │   │         │─┘  Shareware
  46.                          └───│    o    │    Professionals
  47.                        ──────│    ║    │────────────────────
  48.                              └────╨────┘    MEMBER
  49.  
  50.  
  51.      ──────────────────────────────────────────────────────────────────────
  52.      Credits
  53.  
  54.      4Print was written by James E. Korenthal, Lewis Horowitz, Steven E.
  55.      Arnott, and Tracey M. Siesser.
  56.  
  57.  
  58.      ──────────────────────────────────────────────────────────────────────
  59.      Copyright Notice
  60.  
  61.      4Print is Copyright 1991 by Korenthal Associates, Inc.
  62.      All rights are reserved.
  63.  
  64.      This document is Copyright 1991 by Korenthal Associates, Inc.
  65.      All rights are reserved.
  66.  
  67.  
  68.      ──────────────────────────────────────────────────────────────────────
  69.      Trademarks
  70.  
  71.      4Print and Babble! are trademarks of Korenthal Associates, Inc.
  72.  
  73.      All trademarks and registered trademarks referenced within this
  74.      document are the property of their respective holders.
  75.  
  76.  
  77.      ──────────────────────────────────────────────────────────────────────
  78.      Warranty Disclaimer
  79.  
  80.      KORENTHAL ASSOCIATES, INC. MAKES NO WARRANTY OF ANY KIND, EXPRESSED OR
  81.      IMPLIED, INCLUDING WITHOUT LIMITATION ANY WARRANTIES OF MERCHANTABILI-
  82.      TY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
  83.  
  84.      KORENTHAL ASSOCIATES, INC. DOES NOT ASSUME ANY LIABILITY FOR THE USE
  85.      OF THIS SOFTWARE BEYOND THE ORIGINAL PURCHASE PRICE OF THIS SOFTWARE.
  86.  
  87.      IN NO EVENT WILL KORENTHAL ASSOCIATES, INC. BE LIABLE TO YOU FOR ANY
  88.      ADDITIONAL DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER
  89.      INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF, OR
  90.      INABILITY TO USE, THIS SOFTWARE AND ITS ACCOMPANYING DOCUMENTATION,
  91.      EVEN IF KORENTHAL ASSOCIATES, INC. HAS BEEN ADVISED OF THE POSSIBILITY
  92.      OF SUCH DAMAGES.
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.      ──────────────────────────────────────────────────────────────────────
  106.      4Print User's Guide                                                  i
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.      Table of Contents
  120.      ──────────────────────────────────────────────────────────────────────
  121.  
  122.      Chapter One
  123.         Introduction . . . . . . . . . . . . . . . . . . . . . . . . .    1
  124.         Printer Compatibility  . . . . . . . . . . . . . . . . . . . .    1
  125.         What's New . . . . . . . . . . . . . . . . . . . . . . . . . .    2
  126.         Using This Manual  . . . . . . . . . . . . . . . . . . . . . .    2
  127.         Installation . . . . . . . . . . . . . . . . . . . . . . . . .    4
  128.         Quick Start  . . . . . . . . . . . . . . . . . . . . . . . . .    4
  129.         DeskJet Users  . . . . . . . . . . . . . . . . . . . . . . . .    5
  130.  
  131.      Chapter Two
  132.         Paper Selection, Care, and Feeding . . . . . . . . . . . . . .    6
  133.         Double-Sided Printing  . . . . . . . . . . . . . . . . . . . .    7
  134.         Paper Curl . . . . . . . . . . . . . . . . . . . . . . . . . .    9
  135.  
  136.      Chapter Three
  137.         4Print Operation . . . . . . . . . . . . . . . . . . . . . . .   10
  138.         The 4Print Command Line  . . . . . . . . . . . . . . . . . . .   11
  139.         The 4Print Environment Variable  . . . . . . . . . . . . . . .   12
  140.         Specifying Files To Print  . . . . . . . . . . . . . . . . . .   13
  141.  
  142.      Chapter Four
  143.         Page Formatting  . . . . . . . . . . . . . . . . . . . . . . .   15
  144.         Number of Columns: The -1, -2, -3, and -4 Switches . . . . . .   15
  145.         Initial Blank Page Handling: The -BP and -BP+ Options  . . . .   18
  146.         Page Centering: The -CEN, -CENH, and -CENV Switches  . . . . .   19
  147.         Formatted Documents: The -DOC Switch . . . . . . . . . . . . .   20
  148.         Frame Styles: The -F<style> Switch . . . . . . . . . . . . . .   21
  149.         Column Selection And Line Formatting: The -FMT Option  . . . .   23
  150.         Changing the Default Header: The -H Option . . . . . . . . . .   26
  151.         Indenting Lines: The -I Option . . . . . . . . . . . . . . . .   28
  152.         Number of Lines Per Page: The -LPP Option  . . . . . . . . . .   29
  153.         Maximum Throughput: The -MAX Switch  . . . . . . . . . . . . .   30
  154.         Numbering Lines: The -N and -NP Option . . . . . . . . . . . .   30
  155.         IBM-style Binders: The -RI Option  . . . . . . . . . . . . . .   31
  156.         Truncating Long Lines: The -T Switch . . . . . . . . . . . . .   32
  157.         Overriding Title Placement: The -TT, -TB, and -TA Switches . .   32
  158.         Top Indent: The -TI Option . . . . . . . . . . . . . . . . . .   33
  159.         Word Wrapping: The -WW, -WL, and -WP Switches  . . . . . . . .   34
  160.  
  161.  
  162.  
  163.      ──────────────────────────────────────────────────────────────────────
  164.      ii                                                 4Print User's Guide
  165.  
  166.  
  167.         Compressing Blank Lines: The -XB Switch  . . . . . . . . . . .   35
  168.         Compressing Form Feeds: The -XF Switch . . . . . . . . . . . .   36
  169.  
  170.      Chapter Five
  171.         Printer Mechanics  . . . . . . . . . . . . . . . . . . . . . .   37
  172.         A4 Paper Handling: The -A4 Switch  . . . . . . . . . . . . . .   37
  173.         Duplex Printing (LJ IID/IIID): The -D Switch . . . . . . . . .   38
  174.         Printing on a DeskJet: The -DJ Switch  . . . . . . . . . . . .   38
  175.         Duplex With Short Binding: The -DS Switch  . . . . . . . . . .   39
  176.         Selective Printing by Side: The -F, -B, and -R Switches  . . .   40
  177.         Paper Tray Selection: The -L and -LU Switches  . . . . . . . .   40
  178.         Manual Feed: The -M Switch . . . . . . . . . . . . . . . . . .   41
  179.         Outputting to Other Devices or to a File: The -O Option  . . .   41
  180.         Selective Printing by Page: The -P Option  . . . . . . . . . .   42
  181.         Quick Printing: The -Q Switch  . . . . . . . . . . . . . . . .   43
  182.         Single-sided Documents: The -S Switch  . . . . . . . . . . . .   44
  183.         Unattended Mode: The -U Switch . . . . . . . . . . . . . . . .   44
  184.         Vertical Compression: The -VC Switch . . . . . . . . . . . . .   45
  185.         Vertical Expansion: The -VE Switch . . . . . . . . . . . . . .   46
  186.         Multiple Copies: The -X Option . . . . . . . . . . . . . . . .   46
  187.  
  188.      Chapter Six
  189.         Fonts and Control Codes  . . . . . . . . . . . . . . . . . . .   47
  190.         Downloaded Fonts: The -# Option  . . . . . . . . . . . . . . .   47
  191.         Full Font Selection: The -[ Option . . . . . . . . . . . . . .   48
  192.         Carriage Returns (Imported Files): The -C Switch . . . . . . .   49
  193.         Escape Code Processing: The -E Switch  . . . . . . . . . . . .   50
  194.         Mainframe Carriage Control: The -MF Switch . . . . . . . . . .   50
  195.         Proportional Font Support: The -PR Switch  . . . . . . . . . .   51
  196.         Using a Squashed Font: The -SQ Switch  . . . . . . . . . . . .   51
  197.         Non-standard Tabs: The -TAB Option . . . . . . . . . . . . . .   52
  198.         Downloaded Tiny Fonts: The -T# Option  . . . . . . . . . . . .   53
  199.         Full Tiny Font Selection: The -T[ Option . . . . . . . . . . .   53
  200.         Using the Internal Tiny Font: The -TINY Option . . . . . . . .   53
  201.         WordStar (tm) Files: The -W Switch . . . . . . . . . . . . . .   55
  202.         Bypassing End Of File Characters: The -Z Switch  . . . . . . .   56
  203.  
  204.      Chapter Seven
  205.         4Print Applications  . . . . . . . . . . . . . . . . . . . . .   57
  206.         4Print for Programmers . . . . . . . . . . . . . . . . . . . .   57
  207.         4Print for Database Users  . . . . . . . . . . . . . . . . . .   59
  208.         4Print for Spreadsheet Users . . . . . . . . . . . . . . . . .   61
  209.         4Print for Word Processor Users  . . . . . . . . . . . . . . .   64
  210.         Creating Documents for IBM-Style Binders . . . . . . . . . . .   66
  211.  
  212.      Appendix A
  213.         Trouble-Shooting Guide . . . . . . . . . . . . . . . . . . . .   69
  214.  
  215.      Appendix B
  216.         Network Usage  . . . . . . . . . . . . . . . . . . . . . . . .   73
  217.  
  218.      Appendix C
  219.         Changing 4Print's Defaults . . . . . . . . . . . . . . . . . .   75
  220.  
  221.      ──────────────────────────────────────────────────────────────────────
  222.      Table of Contents                                                  iii
  223.  
  224.  
  225.      Appendix D
  226.         About Korenthal Associates . . . . . . . . . . . . . . . . . .   78
  227.  
  228.      Appendix E
  229.         License Information  . . . . . . . . . . . . . . . . . . . . .   80
  230.         The Association of Shareware Professionals (ASP) . . . . . . .   81
  231.         Registration Information . . . . . . . . . . . . . . . . . . .   81
  232.         Limited Distribution License . . . . . . . . . . . . . . . . .   83
  233.         Please Help Us Serve You Better  . . . . . . . . . . . . . . .   84
  234.  
  235.      Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   85
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.      ──────────────────────────────────────────────────────────────────────
  280.      iv                                                 4Print User's Guide
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.      Chapter One
  294.      ──────────────────────────────────────────────────────────────────────
  295.      Introduction
  296.  
  297.      4Print is an HP LaserJet/DeskJet utility which prints four or more
  298.      pages of text on one sheet of paper by printing on both sides in
  299.      landscape mode.  The program has four main purposes:
  300.  
  301.        1. 4Print saves paper by printing title lines plus four 66-line,
  302.           80-column pages on a single sheet of paper (front and back). 
  303.           Even more paper can be saved when 4Print uses a very small font
  304.           to print six full pages on a single sheet.
  305.  
  306.        2. 4Print helps analysts, programmers, and documenters by printing
  307.           spreadsheets, program listings, and documents which are too wide
  308.           to fit on a normal page.
  309.  
  310.        3. 4Print helps programmers maintain source code by automatically
  311.           documenting a program listing's file name, date, time, and page
  312.           count; by allowing four pages (264 lines) of contiguous code to
  313.           be visible at once in an open three-ring binder (up to 528 lines
  314.           visible if the tiny font is used); and by printing multiple
  315.           source files in a single invocation.
  316.  
  317.        4. 4Print helps anyone who prints other people's documentation by
  318.           formatting based on a true 66-line page (the LaserJet normally
  319.           formats to 60 lines), and by correctly handling tabs, form feeds,
  320.           end of file characters, backspaces, overstriking, boldfacing, and
  321.           underlining in the text.
  322.  
  323.  
  324.      ──────────────────────────────────────────────────────────────────────
  325.      Printer Compatibility
  326.  
  327.      4Print may be used successfully with any HP LaserJet or compatible
  328.      printer equipped with a small, fixed pitch landscape font.  These
  329.      include the Series II (using the internal line printer font), the
  330.      LaserJet or LaserJet+ with an A, B, C, L, V, Y, or Z font cartridge,
  331.      or any printer with HP's 33411DA or 33412DA soft font.  See the sec-
  332.      tions describing the "-#" and "-[" options in Chapter Six for more
  333.      detailed information.
  334.  
  335.  
  336.  
  337.      ──────────────────────────────────────────────────────────────────────
  338.      Chapter One: Introduction                                            1
  339.  
  340.  
  341.      See the "What's New" section below for additional printers supported
  342.      in Version 4, including the HP DeskJet, DeskJet Plus and 500, and the
  343.      LaserJet IID, IIP, III, and IIID.
  344.  
  345.  
  346.      ──────────────────────────────────────────────────────────────────────
  347.      What's New
  348.  
  349.      Version 4.0 adds full DeskJet support (the "-dj" option), specific A4
  350.      paper support (the "-a4" option), vertical image compression and
  351.      expansion to handle a wider variety of close compatibles, variable
  352.      number of lines per page (from 20 to 100+), document vertical indent-
  353.      ing, centering, and "smushing," and the ability to print three or four
  354.      columns on a landscape page (previous versions were restricted to one
  355.      or two columns).
  356.  
  357.      Three word wrapping options (including a special "programmer's wrap")
  358.      were added, bringing the total number of line termination options to
  359.      six.  New line formatting (the "-fmt" option) allows arbitrary charac-
  360.      ter positions to be selected, transposed, and interspersed with any
  361.      text.  Initial blank pages may optionally be suppressed or added (the
  362.      "-bp" and "-bp+" switches), and mainframe ("Fortran-style") carriage
  363.      control is included (the "-mf" switch).
  364.  
  365.      The built-in "-tiny" font for LaserJets has been improved, and six
  366.      shareware soft fonts are included (four for LaserJets and two for
  367.      DeskJets) which can enhance your 4Print output.  New options are
  368.      available to specify that these soft fonts or your own soft or
  369.      cartridge-based fonts be selected for normal or "-tiny" printing.
  370.  
  371.      Two tray selection options make life easier by telling 4Print to use a
  372.      printer's lower paper tray, or to use the lower tray for the front
  373.      side and the upper tray for the back of the document.  (This latter
  374.      option is especially useful to LaserJet IIP owners.)  On duplex print-
  375.      ers, you can "short bind" listings, allowing four or six full pages to
  376.      be viewed side by side.
  377.  
  378.  
  379.      ──────────────────────────────────────────────────────────────────────
  380.      Using This Manual
  381.  
  382.      This manual was designed to provide clear, detailed instructions on
  383.      how to take best advantage of 4Print's many options.  Examples of
  384.      4Print's usage are always provided, and diagrams help both to illus-
  385.      trate the text and to draw you into exploring some of 4Print's more
  386.      esoteric features.
  387.  
  388.      A few quick words on conventions used in this manual: keystrokes are
  389.      presented either between angle brackets (as in <Enter> for the key
  390.      labeled "Enter", or sometimes "Return"), or as a character within
  391.      quotes ("M" means to press the "M" or "m" key).  DOS commands, file
  392.      names and paths may be entered in upper or lower case; so, too, may
  393.      page titles (headings).  For maximum readability, all commands and
  394.  
  395.      ──────────────────────────────────────────────────────────────────────
  396.      2                                                  4Print User's Guide
  397.  
  398.  
  399.      arguments are presented in lower case; the exception is the letter
  400.      "L".  Whenever an "L" is required, the manual shifts into upper case
  401.      to distinguish the lower case "l" from the digit "1".  (Both "-1" and
  402.      "-L" are valid 4Print options.)
  403.  
  404.      The manual contains many diagrams illustrating 4Print's options.  
  405.      Sometimes a diagram represents one 4Print page; sometimes it repre-
  406.      sents two pages within a three-ring binder.  For example:
  407.  
  408.  
  409.           ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  410.           █ ┌───────────────────┐ █       ┌───────────────────┐
  411.           █ │         │         │ █       │         │         │
  412.           █ │         │         │ █       │         │         │
  413.           █ │         │         │ █       │         │         │
  414.           █ │         │         │ █       │         │         │
  415.           █ │  o      o      o  │ █       │  o      o      o  │
  416.           █ ╞═(══════(══════(═══╡ █       ╞═(══════(══════(═══╡
  417.           █ │  o      o      o  │ █       │  o      o      o  │
  418.           █ │         │         │ █       │         │         │
  419.           █ │         │         │ █       │         │         │
  420.           █ │         │         │ █       │         │         │
  421.           █ │         │         │ █       │         │         │
  422.           █ └───────────────────┘ █       └───────────────────┘
  423.           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  424.  
  425.                        Printed pages turned sideways,
  426.                  hole-punched and stored in a 3-ring binder
  427.  
  428.            ┌─────────────────────┐      ┌─────────────────────┐
  429.            │ xxx      │ xxxx     │      │ Name Addr Zip Phone │
  430.            │ xxxx     │ xxxxx    │      │ ─────────────────── │
  431.            │ xxx      │ xxx      │      │ xxx  xxxx xxx xxxxx │
  432.            │ xxxxxx   │ xxxx     │      │ xxxx xxxx xxx xxxxx │
  433.            │ xxxx     │ xx       │      │ xxx  xxx  xxx xxxxx │
  434.            │ xxxxxx   │ xxx      │      │ xxxx xxxx xxx xxxxx │
  435.            └─────────────────────┘      └─────────────────────┘
  436.  
  437.              Single 4Printed page         Single 4Printed page
  438.                 with 2 columns             with 1 wide column
  439.  
  440.                                               ┌──────────┐
  441.                 ┌──────────┬──                │o         │
  442.                 │ xxxxx xx │                  │          │
  443.                 │ xxx xxx  │                  │          │
  444.                 │ xxxxxx xx│                  │o         │
  445.                 │ xx  xxxxx│                  │          │
  446.                 │ xxxx xxx │                  │          │
  447.                 │ xxxxxx xx│                  │o         │
  448.                 └──────────┴─                 └──────────┘
  449.  
  450.              Lefthand column on        Piece of paper, hole-punched
  451.               a 4Printed page         and held lengthwise (portrait)
  452.  
  453.      ──────────────────────────────────────────────────────────────────────
  454.      Chapter One: Introduction                                            3
  455.  
  456.  
  457.      ──────────────────────────────────────────────────────────────────────
  458.      Installation
  459.  
  460.      The first thing to do is place the 4Print distribution disk in drive A
  461.      and, at the DOS prompt, type:
  462.  
  463.           C>a:readme
  464.  
  465.      The "readme" program will tell you if any installation instructions
  466.      have changed since this manual was printed, and will inform you of
  467.      program changes or other things we may be providing with the 4Print
  468.      package.
  469.  
  470.      Now, create a subdirectory for 4Print and copy all of the files from
  471.      the distribution disk to the new directory:
  472.  
  473.           C>md \4print
  474.           C>cd \4print
  475.           C>copy a:*.*
  476.  
  477.      To access 4Print from any drive or subdirectory on your computer, you
  478.      need to add the 4Print subdirectory to your DOS search path.  Type
  479.      "path" at the DOS prompt to see your current path, and add 4Print to
  480.      it like this:
  481.  
  482.           C>path
  483.           PATH=C:\DOS33;C:\MYPROGS      (for example)
  484.           C>path c:\dos33;c:\myprogs;c:\4print
  485.  
  486.  
  487.      ┌───────────────────────────────────────────────────────────────────┐
  488.      │  Tip For Advanced Users: You only need the file 4PRINT.EXE to     │█
  489.      │  use 4Print.  Instead of changing your path to include the        │█
  490.      │  4Print subdirectory, you can simply copy 4PRINT.EXE to any       │█
  491.      │  directory in your search path.                                   │█
  492.      │                                                                   │█
  493.      └───────────────────────────────────────────────────────────────────┘█
  494.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  495.  
  496.  
  497.      ──────────────────────────────────────────────────────────────────────
  498.      Quick Start
  499.  
  500.      To get started with 4Print, type the following at the DOS prompt:
  501.  
  502.              C>4print
  503.  
  504.      The program will provide a summary of its many options.  4Print is a
  505.      very "rich" program, though, so we suggest you read this User's Guide
  506.      first in order to enjoy the full benefits of 4Print's advanced fea-
  507.      tures.
  508.  
  509.  
  510.  
  511.      ──────────────────────────────────────────────────────────────────────
  512.      4                                                  4Print User's Guide
  513.  
  514.  
  515.      The best thing to do first is to 4Print any ASCII file single-sided to
  516.      get a feel for the program.  To print the README.DOC file that comes
  517.      on the 4Print distribution disk, for instance, type:
  518.  
  519.              C>4print readme.doc -s
  520.          or  C>4print readme.doc -dj -s     if you are using a DeskJet.
  521.  
  522.      Next, you might try double sided printing:
  523.  
  524.              C>4print readme.doc
  525.          or  C>4print readme.doc -d         if you are using a IID or IIID.
  526.          or  C>4print readme.doc -dj        if you are using a DeskJet.
  527.  
  528.      Unless you are using a duplex printer (IID or IIID), the program will
  529.      pause after it prints the front side and ask you to reinsert the paper
  530.      in the paper tray (or manually if you include the "-m" switch) to
  531.      print the reverse side.
  532.  
  533.      4Print has many advanced formatting and paper handling features.  For
  534.      example, you might try three column, "maximum output" mode:
  535.  
  536.              C>4print readme.doc -max
  537.          or  C>4print readme.doc -max -d    if you are using a IID or IIID.
  538.          or  C>4print readme.doc -max -dj   if you are using a DeskJet.
  539.  
  540.  
  541.      ──────────────────────────────────────────────────────────────────────
  542.      DeskJet Users
  543.  
  544.      4Print has special handling for the HP DeskJet, DeskJet Plus, and
  545.      DeskJet 500.  If you are using any of these printers, you *must*
  546.      specify the "-dj" switch every time you run 4Print.  Alternatively,
  547.      you may put "set 4print=-dj" (don't forget the dash after the equals
  548.      sign) in your AUTOEXEC.BAT; then you can omit the "-dj" switch from
  549.      your subsequent 4Print runs.
  550.  
  551.      No special font is required to use 4Print with the DeskJet, but if you
  552.      have the original model (not Plus or 500), your printer must be
  553.      equipped with the optional landscape cartridge.  In addition, the
  554.      original model DeskJet does not accept landscape soft fonts, so you
  555.      may not use the shareware fonts described in Chapter Six.  Note that
  556.      DeskJet Plus and 500 printers require a 128K or 256K RAM cartridge in
  557.      order to use soft fonts.
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.      ──────────────────────────────────────────────────────────────────────
  570.      Chapter One: Introduction                                            5
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.      Chapter Two
  584.      ──────────────────────────────────────────────────────────────────────
  585.      Paper Selection, Care, and Feeding
  586.  
  587.      4Print was originally designed as an in-house programmer's utility to
  588.      save paper and maximize the amount of source code visible in a minimal
  589.      amount of desk space.  Since program listings comprise the bulk of
  590.      Korenthal Associates' hard copy needs, we generally load our laser
  591.      printer with letter-size paper that's been pre-punched for a
  592.      three-ring binder.
  593.  
  594.  
  595.           ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  596.           █ ┌────────┬────────┐ █
  597.           █ │        │        │ █    By turning the page sideways,
  598.           █ │        │        │ █    printing on both sides, and
  599.           █ │ page 1 │ page 2 │ █    then storing the output in a
  600.           █ │        │        │ █    three-ring binder, you can
  601.           █ │ o      o      o │ █    comfortably view 4 pages of
  602.           █ ╞(══════(══════(══╡ █    information at one time.
  603.           █ │ o      o      o │ █
  604.           █ │        │        │ █    You can also print three across
  605.           █ │ page 3 │ page 4 │ █    to view 6 full (80-character)
  606.           █ │        │        │ █    pages of text, and four across
  607.           █ │        │        │ █    of up to 58 characters per line.
  608.           █ └────────┴────────┘ █
  609.           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  610.  
  611.  
  612.      If it's not convenient to load pre-punched paper for 4Print jobs, you
  613.      can force 4Print into manual feed for the entire output (see the
  614.      "4Print Operation" section in Chapter Three), or you can print on
  615.      unholed paper and punch holes yourself.  However, double check your
  616.      first printout; some greedy hole punches might gobble a character or
  617.      two from the 66th line of the reverse sides.  If this occurs, either
  618.      save all the punched holes for archival purposes, or get a better hole
  619.      punch.
  620.  
  621.      The remainder of this chapter deals with printing on the reverse side
  622.      of the paper.  If you use 4Print exclusively with the "-s" (single-
  623.      side) or "-d" (auto duplex) switch, feel free to skip to the next
  624.      chapter.
  625.  
  626.  
  627.      ──────────────────────────────────────────────────────────────────────
  628.      6                                                  4Print User's Guide
  629.  
  630.  
  631.      ──────────────────────────────────────────────────────────────────────
  632.      Double-Sided Printing
  633.  
  634.      4Print assumes your printer will stack pages in REVERSE ORDER (true of
  635.      HP LaserJets and LaserJet+'s, and of Series II and III using the rear
  636.      output tray).  If your printer can't stack pages in reverse (or if you
  637.      forget to open the rear output tray, as we often do), your sheets will
  638.      be in the wrong order after the front side is printed.  To solve this
  639.      problem, reverse the sheets before replacing them in the paper tray,
  640.      or use manual feed (see the "-m" switch in Chapter Five) and "deal
  641.      from the bottom of the deck" when inserting sheets to print the
  642.      reverse side.
  643.  
  644.      A future version of 4Print might address this problem (by optionally
  645.      printing the reverse side from last sheet to first).  Please let us
  646.      know if this would make a major difference to you.
  647.  
  648.      There are two ways to reinsert the sheets and print the reverse sides;
  649.      one results in "long binding", which produces output suitable for a
  650.      standard three-ring binder, and the other results in "short binding",
  651.      suitable for "ledger" binders or other means of binding on the left
  652.      hand side of the page.  Note that sheets produced for long binding
  653.      have their reverse sides upside down from their fronts, while short
  654.      binding sheets have their fronts and reverses both right side up.
  655.  
  656.  
  657.         ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  658.         █ ┌─────────────────┐ █
  659.         █ │        │        │ █
  660.         █ │        │        │ █      ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  661.         █ │ page 1 │ page 2 │ █      █ ┌──────────────╥──────────────┐ █
  662.         █ │        │        │ █      █ │      │      o─o      │      │ █
  663.         █ │ o      o      o │ █      █ │      │       ║       │      │ █
  664.         █ ╞(══════(══════(══╡ █      █ │ pg 1 │ pg 2 o─o pg 3 │ pg 4 │ █
  665.         █ │ o      o      o │ █      █ │      │       ║       │      │ █
  666.         █ │        │        │ █      █ │      │      o─o      │      │ █
  667.         █ │ page 3 │ page 4 │ █      █ └──────────────╨──────────────┘ █
  668.         █ │        │        │ █      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  669.         █ │        │        │ █
  670.         █ └─────────────────┘ █                 Short Binding
  671.         ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  672.  
  673.              Long Binding
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.      ──────────────────────────────────────────────────────────────────────
  686.      Chapter Two: Paper Selection, Care, and Feeding                      7
  687.  
  688.  
  689.      Long binding: When you flip the paper to print the reverse side, the
  690.      "top" of the sheet is still fed in first.  This means, for example,
  691.      that pre-punched paper would be fed with the holes facing LEFT for the
  692.      front side (as you face the printer), and with the holes facing RIGHT
  693.      for the reverse side.  The fact that the same edge of the paper is fed
  694.      in twice will bring us to the topic of "Paper Curl" in the next
  695.      section.
  696.  
  697.  
  698.           feed printer                              feed printer
  699.          ┌─────────┐                              ┌─────────┐
  700.          │o   top    │   To print front side,      │    top   o│
  701.          │           │  feed paper front side up,   │           │
  702.          │           │  with holes on LEFT.         │           │
  703.          │           │                              │           │
  704.          │o          │    To print reverse side,   │          o│
  705.          │           │  flip the paper over on its  │           │
  706.          │           │       vertical axis so that  │           │
  707.          │           │     blank side is facing up  │           │
  708.          │o          │     and holes are on RIGHT.  │          o│
  709.          └───────────┘                              └───────────┘
  710.  
  711.  
  712.      Short binding: Flip the paper over along its longer side.  In other
  713.      words, while with long binding you turn the paper over sideways, for
  714.      short binding you turn it over top to bottom.  If you have pre-punched
  715.      holes for a ledger binder, the paper would be fed with the holes on
  716.      the BOTTOM for the front side, and with the holes on the TOP for the
  717.      reverse side.  Since the same top edge of the paper is *not* fed in
  718.      twice with short binding, we avoid the problem of paper curl.
  719.  
  720.  
  721.           feed printer                               feed printer
  722.          ┌─────────┐                              ┌─────────┐
  723.          │    top    │   To print front side,      │o    o    o│
  724.          │           │  feed paper front side up,   │           │
  725.          │           │  with holes on BOTTOM.       │           │
  726.          │           │                              │           │
  727.          │           │    To print reverse side,   │           │
  728.          │           │  flip the paper over on its  │           │
  729.          │           │     horizontal axis so that  │           │
  730.          │           │     blank side is facing up  │           │
  731.          │o    o    o│       and holes are on TOP.  │           │
  732.          └───────────┘                              └───────────┘
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.      ──────────────────────────────────────────────────────────────────────
  744.      8                                                  4Print User's Guide
  745.  
  746.  
  747.      ──────────────────────────────────────────────────────────────────────
  748.      Paper Curl
  749.  
  750.      Laser printers tend to introduce a slight bend on the top of printed
  751.      sheets, known as "paper curl."  When the sheets are reinserted to
  752.      print the reverse side, too large a curl could cause imperfect print-
  753.      ing; in severe cases, the paper may jam.  This tends to occur when the
  754.      printer is running "hot," i.e., many pages are being printed at once. 
  755.      You might want to select a paper with low water content to minimize
  756.      curling.
  757.  
  758.      Here's one way to minimize paper curl if it becomes a problem: take
  759.      the paper after the front side has been printed, hold it printed side
  760.      up, and stick a scrap sheet (as a "buffer") underneath.  Now place the
  761.      paper (printed side up) on a desk like this:
  762.  
  763.  
  764.          │                           │       Place your hand or a book over
  765.          │                     DESK  │       the entire curl, press reason-
  766.          │        ┌─C─U─R─L─┐        │       ably hard, and run the stack
  767.          │        │o        │        │       off the edge of the desk. 
  768.          └────────┤         ├────────┘       Once you've mastered the tech-
  769.                   │         │                nique, the "buffer page" will
  770.                   │o        │                be sharply curled in the oppo-
  771.                   │         │                site direction of the original
  772.                   │         │                curl, and your printout will
  773.                   │o        │                be uncurled and ready to print
  774.                   └─────────┘                the reverse side.  Don't for-
  775.                                             get to discard the buffer page
  776.             Hold paper printed side up       (or save it for your next un-
  777.            with scrap sheet underneath.      curling) before feeding the
  778.                                              paper back into the printer.
  779.  
  780.  
  781.      (Another technique for dealing with curling surfaces involves two guys
  782.      on ice with whisk brooms...but that's beyond the scope of this docu-
  783.      mentation.)
  784.  
  785.      Notice that 4Print has a special option (see the "-p" option in
  786.      Chapter Five) to reprint pages which were munged due to paper curl.
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.      ──────────────────────────────────────────────────────────────────────
  802.      Chapter Two: Paper Selection, Care, and Feeding                      9
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.      Chapter Three
  816.      ──────────────────────────────────────────────────────────────────────
  817.      4Print Operation
  818.  
  819.      4Print does its work in three passes over the file (or files) to be
  820.      printed.  The first pass scans the files to determine the maximum page
  821.      number and horizontal and vertical centering requirements (this pass
  822.      may be eliminated via the "-q" switch; see Chapter Five).  The next
  823.      two passes print the front and reverse sides of the document, respec-
  824.      tively.  Note that the reverse side printing pass doesn't occur when
  825.      the "-s" or "-d" switch is used or when you are printing a single
  826.      document which fits on the front of a single sheet of paper.
  827.  
  828.      After the scan pass is complete, you are prompted to press <Enter> to
  829.      print the front side (unless you use the "-u" switch; see Chapter
  830.      Five).  If you have an HP Series II or other printer with a rear
  831.      output tray, make sure the tray is open, if possible.
  832.  
  833.      At the "Press Enter" prompt, you can press the following keys:
  834.  
  835.        1. Press <Enter> to print the front side.
  836.  
  837.        2. Press "M" to force the printer into manual feed mode.  Unlike the
  838.           "-m" switch (which puts the printer into manual feed mode for the
  839.           reverse side only), pressing "M" here will allow you to use
  840.           manual feed for the entire print job.
  841.  
  842.        3. Press "C" if you mistakenly used the "-m" switch (possibly
  843.           because you underestimated the number of pages in the document). 
  844.           4Print will override the switch and use cassette feed later, when
  845.           the reverse side is printed.
  846.  
  847.        4. Press <Esc> (or <Ctrl-C> or <Ctrl-Break>) to cancel the 4Print
  848.           job and return to DOS.
  849.  
  850.      When the front side finishes printing, 4Print exits to DOS if you used
  851.      the "-s" switch or if you are printing a single file with only one
  852.      page.  Otherwise, you are prompted to press <Enter> to print the
  853.      reverse side.  Uncurl the pages if necessary and flip the stack
  854.      according to the instructions given under Paper Selection, Care, and
  855.      Feeding.  Unless you're using manual feed, reinsert the pages into the
  856.      paper cassette.
  857.  
  858.  
  859.      ──────────────────────────────────────────────────────────────────────
  860.      10                                                 4Print User's Guide
  861.  
  862.  
  863.      Note that this version of 4Print assumes your printer stacks pages in
  864.      reverse order.  If your pages don't stack in reverse, either reverse
  865.      the pages yourself before reloading the paper cassette, or use the
  866.      "-m" switch and insert the pages into the manual feeder in reverse
  867.      order.
  868.  
  869.      At the "Press Enter" prompt, you can press the following keys:
  870.  
  871.        1. Press <Enter> to print the reverse side.
  872.  
  873.        2. Press "M" to immediately force the printer into manual feed mode. 
  874.           If you overestimated the number of pages to be printed and don't
  875.           want to bother reloading the paper tray, pressing "M" here will
  876.           have the same effect as if you had used the "-m" switch on the
  877.           original command line.
  878.  
  879.        3. Press "C" to override an incorrect "-m" switch on the command
  880.           line, or to force the printer back into cassette feed mode if you
  881.           pressed "M" in response to the prompt before the first side was
  882.           printed.
  883.  
  884.        4. Press <Esc> (or <Ctrl-C> or <Ctrl-Break>) to cancel reverse side
  885.           printing and return to DOS.
  886.  
  887.  
  888.      ──────────────────────────────────────────────────────────────────────
  889.      The 4Print Command Line
  890.  
  891.      Type "4print" alone to display a help screen similar to the one on the
  892.      next page.
  893.  
  894.      You can follow the 4Print command with any number of file specifica-
  895.      tions ("filespecs") or options (also known as "switches") in any
  896.      order.  Thus, the following command lines are equivalent:
  897.  
  898.           C>4print myfile -m -u
  899.           C>4print myfile -u -m
  900.           C>4print -m -u myfile
  901.           C>4print -m myfile -u
  902.  
  903.      4Print options are global in the sense that any given option refers to
  904.      all filespecs in the command line, regardless of position.  This com-
  905.      mand line would print both files "alpha" and "beta" using manual feed:
  906.  
  907.           C>4print alpha -m beta
  908.  
  909.      Options (or filespecs, for that matter) may be typed in upper or lower
  910.      case.  Following UNIX conventions, any toggle switch may be reversed
  911.      in meaning by appending a dash.  For example, "-m-" is the reverse of
  912.      "-m" and thus explicitly specifies the default of cassette ("non-
  913.      manual") feed.
  914.  
  915.  
  916.  
  917.      ──────────────────────────────────────────────────────────────────────
  918.      Chapter Three: 4Print Operation                                     11
  919.  
  920.  
  921.      ┌────────────────────────────────────────────────────────────────────┐
  922.      │4PRINT Ver 4.00-R The HP LaserJet/DeskJet Landscape Printing Program│
  923.      │Copyright 1991 by Korenthal Associates, Inc.     [Dist: #4PR-REG400]│
  924.      │                                                                    │
  925.      │Type 4PRINT followed by files or wildcards with these options:      │
  926.      ╔════════════════╤════════════════╤════════════════╤═════════════════╗
  927.      ║-1 -2  Number of│-fmt@[,@...] Lin│-q   Quick print│-wp  Program wrap║
  928.      ║-3 -4  columns  │   format, @=col│-ri# Right indnt│-ww  Word wrap   ║
  929.      ║-a4  A4 paper   │   col or "text"│-s   Single side│-x#  # of copies ║
  930.      ║-b   Back only  │-h.. Page header│-sq  Squash font│-xb  Squish blnks║
  931.      ║-bp  Blank pg ok│-i#  Left indent│-t   Truncate   │-xf  Squish FF's ║
  932.      ║-bp+ Add blnk pg│-L   Lower tray │-ta, -tb, -tt   │-z   Ignore EOF's║
  933.      ║-c   CR=new line│-Lu  Lower/upper│  Title placemnt│-#n  Soft font #n║
  934.      ║-cen Center text│-Lpp# Lines/page│  Alt,Bottom,Top│-t#n  " for -tiny║
  935.      ║-d   Duplex mode│-m   Manual feed│-tab# spaces/tab│-[.. Select font ║
  936.      ║-dj  **DeskJet**│-max Max text   │-ti   Top indent│-t[.. " for -tiny║
  937.      ║-doc Doc format │-mf  Mainf'me cc│-tiny Tiny font │"6Printed" docs: ║
  938.      ║-ds  Dupl. short│-n[#] Line #'s  │-u  Unattended  │   -3 -doc       ║
  939.      ║-e   Escapes ok │-np  Num each pg│-vc Vert comprss│Wide spreadsheets║
  940.      ║-f   Front only │-o.. Output to..│-ve Vert expand │   -1 -tiny -sq  ║
  941.      ║-ft  T-frame/see│-p#-# Page range│-w  WordStar fil│Order information║
  942.      ║-f0  No frm \doc│-pr  Proportionl│-wl Wrap to left│   4print -info  ║
  943.      ╚════════════════╧════════════════╧════════════════╧═════════════════╝
  944.      │   Order from: Korenthal Associates, 230 W 13th St., NY NY 10011    │
  945.      └────────────────────────────────────────────────────────────────────┘
  946.                              The 4Print Help Screen
  947.  
  948.  
  949.      If you prefer the PC- or MS-DOS conventions, you can use a slash in-
  950.      stead of a dash to specify an option.  Thus, "/p18-20" is equivalent
  951.      to "-p18-20".
  952.  
  953.      Options and filespecs on the command line must be surrounded by
  954.      spaces, and options may not be combined with a single dash or slash. 
  955.      For example, "-mu" and "-m-u" refer to file names, not options.  If
  956.      you want to specify "manual" and "unattended" modes, use "-m -u".
  957.  
  958.      4Print will process files in the order in which their names or file-
  959.      specs appear on the command line.  Within a given filespec, files will
  960.      be processed in the same order as would be displayed by the DOS direc-
  961.      tory command.  4Print will display the help screen unless it sees at
  962.      least one file name or specification.
  963.  
  964.  
  965.      ──────────────────────────────────────────────────────────────────────
  966.      The 4Print Environment Variable
  967.  
  968.      You may specify any or all 4Print options in the DOS Environment
  969.      instead of (or in addition to) the 4Print command line.  4Print will
  970.      consider any information found in the "4PRINT" Environment variable as
  971.      if it were attached to the BEGINNING of the command line.  You can set
  972.      the 4Print environment variable in your AUTOEXEC.BAT file if there are
  973.      certain options you always want to use with 4Print.
  974.  
  975.      ──────────────────────────────────────────────────────────────────────
  976.      12                                                 4Print User's Guide
  977.  
  978.  
  979.      For example, suppose you typed this command (or put the command in
  980.      your AUTOEXEC) any time before you invoked 4Print:
  981.  
  982.           C>set 4print=-d
  983.  
  984.      Note that there CANNOT be a space after the word "4print" or after the
  985.      equals sign, and that there is a dash in the "-d", just as if it were
  986.      on the 4Print command line.
  987.  
  988.      Given the above environment setting, any subsequent 4Print run would
  989.      always assume a duplex printer is being used.
  990.  
  991.      Note that the environment variable is NOT the same as setting options
  992.      with DEBUG or with the KAZAP program.  You cannot override an environ-
  993.      ment option on the command line, for instance (you'll get an "incom-
  994.      patible options" message if you try).
  995.  
  996.      Another point to be made is that if you specify an illegal option in
  997.      the environment, 4Print will think you are making an error (and will
  998.      probably say "bad option specified") on EVERY subsequent invocation. 
  999.      You can type "set" on the DOS command line (with no arguments) to see
  1000.      your current environment settings (and thus determine if you've set a
  1001.      bad 4Print option in the environment).
  1002.  
  1003.  
  1004.      ──────────────────────────────────────────────────────────────────────
  1005.      Specifying Files To Print
  1006.  
  1007.      The following 4Print command line examples show how you can specify
  1008.      which files or groups of files are to be printed.
  1009.  
  1010.         C>4print myfile
  1011.  
  1012.           The file named "myfile" in the current directory is scanned for a
  1013.           maximum page number.  You are then prompted to press <Enter>,
  1014.           whereupon the front side is printed.  You then (possibly uncurl
  1015.           and) reverse the sheets, replace them in the paper cassette, and
  1016.           press <Enter> again.  The reverse side is then printed and 4Print
  1017.           exits to DOS.
  1018.  
  1019.         C>4print alpha beta
  1020.  
  1021.           Files "alpha" and "beta" are scanned.  You press <Enter>, where-
  1022.           upon the front side is printed for both files.  Press <Enter>
  1023.           again, and the reverse side is printed for both files.
  1024.  
  1025.         C>4print *.c
  1026.  
  1027.           All your C source files in the current directory are scanned,
  1028.           then printed as above.
  1029.  
  1030.  
  1031.  
  1032.  
  1033.      ──────────────────────────────────────────────────────────────────────
  1034.      Chapter Three: 4Print Operation                                     13
  1035.  
  1036.  
  1037.         C>4print *.h *.c notes
  1038.  
  1039.           4Print prints all your header files, all your C files, and the
  1040.           single file called "notes" in the current directory.
  1041.  
  1042.         C>4print a:
  1043.  
  1044.           All the files on drive A will be printed (this is equivalent to
  1045.           "4print a:*.*").
  1046.  
  1047.         C>4print \letters\
  1048.  
  1049.           All the files in subdirectory "\letters" on the current drive
  1050.           will be printed (this is equivalent to "4print \letters\*.*").
  1051.  
  1052.         C>4print abc-m
  1053.  
  1054.           The file "abc-m" will be printed.  Note that this is not the same
  1055.           as "4print abc -m", which would specify file "abc" and the "-m"
  1056.           switch.
  1057.  
  1058.         C>4print -read.me
  1059.  
  1060.           The file "-read.me" will be printed.  Even though "-r" is a valid
  1061.           switch, it is followed by a non-space, so "-read.me" is inter-
  1062.           preted as a file name.
  1063.  
  1064.         C>4print -m
  1065.  
  1066.           This is ILLEGAL, since -m is a valid 4Print switch. The 4Print
  1067.           help screen will be displayed.
  1068.  
  1069.         C>4print -m.
  1070.  
  1071.           The file "-m" (with no extension) will be printed (see "-read.me"
  1072.           above).
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.      ──────────────────────────────────────────────────────────────────────
  1092.      14                                                 4Print User's Guide
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.      Chapter Four
  1106.      ──────────────────────────────────────────────────────────────────────
  1107.      Page Formatting
  1108.  
  1109.      4Print contains a wealth of options to format your documents in as
  1110.      attractive and useful a way as possible.  You can select 1-4 columns
  1111.      per page; choose frames, titles and fonts; center text on the page or
  1112.      cram in as much information as possible; indent text, number lines,
  1113.      word wrap; print selected pages; even print only selected columns of
  1114.      information from your document...the list goes on.
  1115.  
  1116.      The next several chapters are devoted to describing and illustrating
  1117.      these options to help you take full advantage of 4Print's power and
  1118.      flexibility.  Feel free to explore 4Print at your own pace - there are
  1119.      a *lot* of options, and you won't need most of them to get started. 
  1120.      You can make effective use of 4Print just using its built-in defaults,
  1121.      though depending on your needs, you might want to look into the
  1122.      following options right away:
  1123.  
  1124.           -a4  A4 Paper Handling
  1125.           -d   Duplex Printing (for LaserJet IID and IIID)
  1126.           -dj  Printing on a DeskJet
  1127.           -m   Manual Feed
  1128.           -o   Outputting to Other Devices
  1129.  
  1130.      Information about option specification and its relation to file spec-
  1131.      ification may be found in Chapter Three under "The 4Print Command
  1132.      Line".
  1133.  
  1134.      This chapter describes 4Print's page formatting functions, including
  1135.      setting the number of columns on the page, choosing a frame, specify-
  1136.      ing header text and placement, page centering, indenting, word wrap,
  1137.      line numbering, printing selected columns of text, setting the number
  1138.      of lines per page, and compressing blank lines and page breaks.
  1139.  
  1140.  
  1141.      ──────────────────────────────────────────────────────────────────────
  1142.      Number of Columns: The -1, -2, -3, and -4 Switches
  1143.  
  1144.      4Print was originally designed to print exactly two columns ("page
  1145.      images") on a landscape page.  Version 3 introduced the "-wide" option
  1146.      to print wide spreadsheets and documents with more characters across
  1147.  
  1148.  
  1149.      ──────────────────────────────────────────────────────────────────────
  1150.      Chapter Four: Page Formatting                                       15
  1151.  
  1152.  
  1153.      in a single "column".  Now, with version 4, you can print from one to
  1154.      four columns per landscape page.  For consistency, "-wide" has been
  1155.      renamed to "-1" (but the program still accepts "-wide" as a synonym
  1156.      for "-1").
  1157.  
  1158.           ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄           ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  1159.           █ ┌────────┬────────┐ █           █ ┌─────┬─────┬─────┐ █
  1160.           █ │        │        │ █           █ │     │     │     │ █
  1161.           █ │        │        │ █           █ │ page│ page│ page│ █
  1162.           █ │ page 1 │ page 2 │ █           █ │  1  │  2  │  3  │ █
  1163.           █ │        │        │ █           █ │     │     │     │ █
  1164.           █ │ o      o      o │ █           █ │ o   │  o  │    o│ █
  1165.           █ ╞(══════(══════(══╡ █           █ ╞(══════(═══════(═╡ █
  1166.           █ │ o      o      o │ █           █ │ o   │  o  │    o│ █
  1167.           █ │        │        │ █           █ │     │     │     │ █
  1168.           █ │ page 3 │ page 4 │ █           █ │ page│ page│ page│ █
  1169.           █ │        │        │ █           █ │  4  │  5  │  6  │ █
  1170.           █ │        │        │ █           █ │     │     │     │ █
  1171.           █ └────────┴────────┘ █           █ └─────┴─────┴─────┘ █
  1172.           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1173.  
  1174.            Two Columns: "4Print"            Three Columns: "6Print"
  1175.  
  1176.           ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  1177.           █ ┌─────────────────┐ █            █ ┌───┬───┬───┬────┐ █
  1178.           █ │                 │ █            █ │   │   │   │    │ █
  1179.           █ │                 │ █            █ │col│col│col│col │ █
  1180.           █ │      page 1     │ █            █ │ 1 │ 2 │ 3 │ 4  │ █
  1181.           █ │                 │ █            █ │   │   │   │    │ █
  1182.           █ │ o      o      o │ █            █ │ o │   o   │  o │ █
  1183.           █ ╞(══════(══════(══╡ █            █ ╞(═════(══════(══╡ █
  1184.           █ │ o      o      o │ █            █ │ o │   o   │  o │ █
  1185.           █ │                 │ █            █ │   │   │   │    │ █
  1186.           █ │      page 2     │ █            █ │col│col│col│col │ █
  1187.           █ │                 │ █            █ │ 5 │ 6 │ 7 │ 8  │ █
  1188.           █ │                 │ █            █ │   │   │   │    │ █
  1189.           █ └─────────────────┘ █            █ └───┴───┴───┴────┘ █
  1190.           ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀            ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1191.  
  1192.               One Wide Column                  Four Narrow Columns
  1193.  
  1194.      Here are some usage examples:
  1195.  
  1196.         C>4print myfile -1
  1197.  
  1198.           The file will be printed in a single column across the landscape
  1199.           page.  A maximum of 165 characters (see table on next page) will
  1200.           be printed in each column before lines gets wrapped or truncated. 
  1201.           This is the same as typing "4print myfile -wide" in 4Print 3.x.
  1202.  
  1203.      Note that in the above example, "myfile" might be a wide spreadsheet
  1204.      which was printed to disk in ASCII format. (See "4Print for Spread-
  1205.      sheet Users in Chapter Seven."
  1206.  
  1207.      ──────────────────────────────────────────────────────────────────────
  1208.      16                                                 4Print User's Guide
  1209.  
  1210.  
  1211.                            ┌──────────────────────────────────────────────┐
  1212.      When you specify      │Columns  Normal  Squashed  Tiny  Tiny/Squashed│
  1213.      "-1", 4Print uses     │──────────────────────────────────────────────│
  1214.      whatever frame        │   1      165      177      230      242      │
  1215.      style you've speci-   │   2       80       86      110      116      │
  1216.      fied, but removes     │   3       55       59       76       80      │
  1217.      the vertical center   │   4       40       43       55       58      │
  1218.      line to combine the   └──────────────────────────────────────────────┘
  1219.      entire page into a       Maximum # characters/line in each layout
  1220.      single column.
  1221.  
  1222.         C>4print myfile -2                     ┌──────────────────────────┐
  1223.                                                │Characters     4Print     │
  1224.           The file will be printed in two      │ Across        Options    │
  1225.           columns across the landscape         │──────────────────────────│
  1226.           page, allowing a maximum of 80       │   40    -4               │
  1227.           characters (see table) per col-      │   43    -4           -sq │
  1228.           umn.  This is the default, so the    │   55    -3               │
  1229.           command is the same as simply        │   55    -4   -tiny       │
  1230.           typing "4print myfile".              │   58    -4   -tiny   -sq │
  1231.                                                │   59    -3           -sq │
  1232.         C>4print myfile -3                     │   76    -3   -tiny       │
  1233.                                                │   80    -2               │
  1234.           The file will be printed in three    │   80    -3   -tiny   -sq │
  1235.           columns across the landscape         │   86    -2           -sq │
  1236.           page, allowing a maximum of 55       │  110    -2   -tiny       │
  1237.           characters (see table) in each       │  116    -2   -tiny   -sq │
  1238.           column.                              │  165    -1               │
  1239.                                                │  177    -1           -sq │
  1240.         C>4print myfile -4                     │  230    -1   -tiny       │
  1241.                                                │  242    -1   -tiny   -sq │
  1242.           The file will be printed in four     └──────────────────────────┘
  1243.           columns across the landscape          4Print options to specify
  1244.           page, allowing a maximum of 40        for # of characters across
  1245.           characters (see table) in each
  1246.           column.
  1247.  
  1248.  
  1249.      The frames printed for the "-3" and "-4" options include vertical
  1250.      lines between each column.  These lines are considered together as a
  1251.      "center line" when 4Print decides which lines of the frame to print. 
  1252.      For example, "-ft" (a "T-frame") would include the top line and all
  1253.      vertical lines between columns in three- and four-column mode.
  1254.  
  1255.      You can get more characters on each line than the number stated above
  1256.      by using the "-sq" switch to horizontally "squash" the normal font,
  1257.      the "-tiny" option to print in a smaller font, or both "-tiny" and
  1258.      "-sq" to use a "squashed" version of the tiny font.  The accompanying
  1259.      tables show the maximum number of characters which may be printed on a
  1260.      line in each column using various options.
  1261.  
  1262.      See the tiny font and squashed font sections in Chapter Six for more
  1263.      information about the use of these features.
  1264.  
  1265.      ──────────────────────────────────────────────────────────────────────
  1266.      Chapter Four: Page Formatting                                       17
  1267.  
  1268.  
  1269.      ──────────────────────────────────────────────────────────────────────
  1270.      Initial Blank Page Handling: The -BP and -BP+ Options
  1271.  
  1272.      Many ASCII documents, including Microsoft Assembler listing files and
  1273.      documentation obtained from public Bulletin Boards, start with an
  1274.      initial form feed in order to ensure that the printer is at the begin-
  1275.      ning of a page before starting to print the document.  In 4Print, this
  1276.      initial form feed is not necessary, and in fact previous versions of
  1277.      the program would print such documents starting in the right hand
  1278.      "column" of the page.
  1279.  
  1280.      Starting with this version, 4Print pre-scans the document for an
  1281.      initial blank page (defined as any number of spaces, tabs, carriage
  1282.      returns or line feeds followed by a form feed) and ignores this first
  1283.      blank page when printing the document.  Note that 4Print will not sup-
  1284.      press more than a single initial blank page, nor will a blank page be
  1285.      suppressed if it doesn't contain an explicit form feed character (or a
  1286.      "1" as the first character of the file if the "-mf" switch is used).
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.               ┌───────────────────────┐  ┌───────────────────────┐
  1293.               │ xxxxxxxxx │ xxxxxxxxx │  │ xxx       │ xxxxxxxxx │
  1294.               │ xxxxxxxxx │ xxxx      │  │ xxxxxxxxx │ xxxxxxx   │
  1295.               │ xxxxx     │ xxxxxxxxx │  │ xxxxxxxxx │ xxxxx     │
  1296.               │ xxxxxxx   │ xxxxxxxxx │  │ xxxxx     │ xxxxxxxxx │
  1297.               │ xxxxxxxxx │ xxxx      │  │ xxxxxxxxx │ xxxxxxx   │
  1298.               │ xxxxxxxxx │ xxxxxxx   │  │ xxxxx     │ xxxxxxxxx │
  1299.               │ ───────── │ ───────── │  │ ───────── │ ───────── │
  1300.               │ Guide   1 │ 2 Babble! │  │ Guide   3 │ 4 Babble! │
  1301.               └───────────────────────┘  └───────────────────────┘
  1302.  
  1303.                       Manual printed without "-bp+" option:     
  1304.              notice how page numbers are against the inner margins.
  1305.  
  1306.  
  1307.               ┌───────────────────────┐  ┌───────────────────────┐
  1308.               │           │ xxxxxxxxx │  │ xxxxxxxxx │ xxx       │
  1309.               │           │ xxxxxxxxx │  │ xxxx      │ xxxxxxxxx │
  1310.               │           │ xxxxx     │  │ xxxxxxxxx │ xxxxxxxxx │
  1311.               │           │ xxxxxxx   │  │ xxxxxxxxx │ xxxxx     │
  1312.               │           │ xxxxxxxxx │  │ xxxx      │ xxxxxxxxx │
  1313.               │           │ xxxxxxxxx │  │ xxxxxxx   │ xxxxx     │
  1314.               │           │ ───────── │  │ ───────── │ ───────── │
  1315.               │           │ Guide   1 │  │ 2 Babble! │ Guide   3 │
  1316.               └───────────────────────┘  └───────────────────────┘
  1317.  
  1318.               Manual printed with "-bp+" preserves "facing pages":
  1319.                       odd-numbered pages are on the right,        
  1320.                   and page numbers are on the outside corners.    
  1321.  
  1322.  
  1323.      ──────────────────────────────────────────────────────────────────────
  1324.      18                                                 4Print User's Guide
  1325.  
  1326.  
  1327.      If for some reason there is an initial blank page in your document and
  1328.      you *don't* want it to be suppressed, use this option:
  1329.  
  1330.         C>4print myfile -bp
  1331.  
  1332.           The initial blank page won't be suppressed.
  1333.  
  1334.      Note that although we've never made a big deal about it in our docu-
  1335.      mentation, 4Print has always tried to save paper by suppressing blank
  1336.      pages at the *end* of a document, whether they're due to trailing form
  1337.      feeds or multiple blank lines.  This feature remains in the program,
  1338.      and will not be turned off even if the "-bp" switch is used.
  1339.  
  1340.      Under certain circumstances, you may wish to *force* an extra blank
  1341.      page to be printed at the beginning of your document.  For example, if
  1342.      you are 4Printing ASCII documentation and you want the first page to
  1343.      appear in the right column to preserve facing pages as they would
  1344.      appear in a book, you could do this:
  1345.  
  1346.         C>4print myfile -doc -bp+
  1347.  
  1348.           The document will be word wrapped and centered in each column
  1349.           (see the section describing the "-doc" switch below) and an
  1350.           initial blank page will be forced.
  1351.  
  1352.  
  1353.      ──────────────────────────────────────────────────────────────────────
  1354.      Page Centering: The -CEN, -CENH, and -CENV Switches
  1355.  
  1356.      You can ask 4Print to center your document on the page either horizon-
  1357.      tally, vertically, or both horizontally and vertically:
  1358.  
  1359.      ┌───────────────┐    ┌───────────────┐    C>4print myfile -cen
  1360.      │xxx    │       │    │  xxx  │       │
  1361.      │xx     │       │    │  xx   │       │       The file will be centered
  1362.      │xxx    │       │    │  xxx  │       │       on the page.
  1363.      │       │       │    │       │       │
  1364.      │       │       │    │       │       │    C>4print myfile -cenh
  1365.      └───────────────┘    └───────────────┘
  1366.         Uncentered          Horizontally          The file will be horizon-
  1367.                                                   tally centered only.
  1368.      ┌───────────────┐    ┌───────────────┐
  1369.      │       │       │    │       │       │    C>4print myfile -cenv
  1370.      │xxx    │       │    │  xxx  │       │
  1371.      │xx     │       │    │  xx   │       │       The file will be verti-
  1372.      │xxx    │       │    │  xxx  │       │       cally centered only.
  1373.      │       │       │    │       │       │
  1374.      └───────────────┘    └───────────────┘    There are some important
  1375.         Vertically         Horizontally and    considerations when using
  1376.                              Vertically        the centering switches. 
  1377.                                                First of all, 4Print *must*
  1378.                                                be allowed to scan the docu-
  1379.      ment in order to compute the correct horizontal and vertical indenta-
  1380.  
  1381.      ──────────────────────────────────────────────────────────────────────
  1382.      Chapter Four: Page Formatting                                       19
  1383.  
  1384.  
  1385.      tion necessary for centering.  If you specify the "-q" switch (for
  1386.      "Quick print"), centering will be suppressed.
  1387.  
  1388.      Also, the centering indentation calculations are based on the tallest
  1389.      (for vertical) and widest (for horizontal) page in the entire 4Print
  1390.      scan pass.  This means that if you are printing multiple documents in
  1391.      a single run, some documents in that run may be centered based on the
  1392.      page layout of other documents in that run.  Normally this does not
  1393.      present a problem, but if exact centering is required for a particular
  1394.      document, 4Print that document on its own command line.
  1395.  
  1396.  
  1397.      ──────────────────────────────────────────────────────────────────────
  1398.      Formatted Documents: The -DOC Switch
  1399.  
  1400.      A certain combination of 4Print options works well when 4Printing
  1401.      either formatted or unformatted ASCII documentation.  We've provided
  1402.      the "-doc" switch as a shortcut for this group of options.  Please
  1403.      refer to the relevant sections of this manual for more detailed
  1404.      information about the options automatically set by "-doc".
  1405.  
  1406.      If you're printing a document in the default two columns, you probably
  1407.      want to specify "-cen" (to center the document horizontally and
  1408.      vertically) and "-ww" (to word wrap long lines).  Simply say:
  1409.  
  1410.         C>4print myfile -doc
  1411.  
  1412.           The file will be printed with centering and word wrapping on.
  1413.  
  1414.      Centering and word wrapping are also automatically turned on by "-doc"
  1415.      if you print in a single column or in four columns.
  1416.  
  1417.      Using "-doc" with three columns is handled specially, because 4Print
  1418.      is capable of printing an entire 80 columns across a column in
  1419.      three-column mode.  In order to do this, the squashed version of the
  1420.      tiny font must be used, and the line spacing is automatically adjusted
  1421.      for maximum readability of the tiny font:
  1422.  
  1423.         C>4print myfile -3 -doc
  1424.  
  1425.           The file will be printed in three-column document mode (also
  1426.           known as "6Print mode").
  1427.  
  1428.         C>4print myfile -3 -cen -ww -lpp80 -tiny -sq
  1429.  
  1430.           This command is equivalent to the one above.
  1431.  
  1432.      Note that you can add other options to "-doc", the same as you might
  1433.      with any other option:
  1434.  
  1435.         C>4print myfile -s -doc
  1436.  
  1437.           The file will be printed as a single-sided document.
  1438.  
  1439.      ──────────────────────────────────────────────────────────────────────
  1440.      20                                                 4Print User's Guide
  1441.  
  1442.  
  1443.      ──────────────────────────────────────────────────────────────────────
  1444.      Frame Styles: The -F<style> Switch
  1445.  
  1446.      4Print normally prints a full frame around each printed page.  The
  1447.      frame consists of lines at the top, bottom, left, center, and right
  1448.      sides of the page.  You can use the "-f<style>" switch (not to be
  1449.      confused with the simple "-f" switch) to change the frame style which
  1450.      4Print uses.  The easiest way to use this switch is to specify one of
  1451.      the "canned" frame styles that 4Print provides, as in the following:
  1452.  
  1453.         C>4print myfile -ft
  1454.  
  1455.           The document will be printed using the "T" frame style.
  1456.  
  1457.      Each of the provided styles is specified as a single letter (which may
  1458.      be in upper or lower case) or symbol.  A complete table follows:
  1459.  
  1460.           ┌─────────────────────────────────────────────────────┐
  1461.           │ Symbol          Frame Style                         │
  1462.           │─────────────────────────────────────────────────────│
  1463.           │ F               Full frame (the default)            │
  1464.           │ N (or 0)        No frame lines at all               │
  1465.           │ T               "T" frame (title and center lines)  │
  1466.           │ I               "I" frame (top, bottom, and center) │
  1467.           │ !               Center line only                    │
  1468.           │ -               Title line only                     │
  1469.           │ =               Top and bottom lines                │
  1470.           │ O (the letter)  Full frame, but no center line      │
  1471.           │ M (or W)        Title line, left, center, and right │
  1472.           │ U               Title line, left, and center        │
  1473.           └─────────────────────────────────────────────────────┘
  1474.  
  1475.  
  1476.      If you want to be even more creative, you can specify a 5-letter
  1477.      "control" string to design a custom frame.  The letters in the string
  1478.      control the top, bottom, left, center, and right line of the custom
  1479.      frame, respectively.  The codes may be given in upper or lower case,
  1480.      and are:
  1481.  
  1482.           ┌───────────────────────────────────────────────────┐
  1483.           │ Code    Meaning                                   │
  1484.           │───────────────────────────────────────────────────│
  1485.           │  A      Always print the corresponding line.      │
  1486.           │  N      Never print the corresponding line.       │
  1487.           │  T      "Track" the title (print the line only if │
  1488.           │         the title will appear next to this line). │
  1489.           └───────────────────────────────────────────────────┘
  1490.  
  1491.  
  1492.      The "T" code only applies to the top or bottom line of the frame, and
  1493.      thus should only be used in the first and/or second position of the
  1494.      code string.
  1495.  
  1496.  
  1497.      ──────────────────────────────────────────────────────────────────────
  1498.      Chapter Four: Page Formatting                                       21
  1499.  
  1500.  
  1501.             ┌───────────────┐   ┌───────────────┐   ┌───────────────┐
  1502.             │┌─────────────┐│   │               │   │ ──────┬────── │
  1503.             ││      │      ││   │               │   │       │       │
  1504.             ││ pg 1 │ pg 2 ││   │  pg 1   pg 2  │   │  pg 1 │ pg 2  │
  1505.             ││      │      ││   │               │   │       │       │
  1506.             │└o─────o─────o┘│   │ o     o     o │   │ o     o     o │
  1507.             ╞(═════(═════(══╡   ╞(═════(═════(══╡   ╞(═════(═════(══╡
  1508.             │┌o─────o─────o┐│   │ o     o     o │   │ o─────o─────o │
  1509.             ││      │      ││   │               │   │       │       │
  1510.             ││ pg 3 │ pg 4 ││   │  pg 3   pg 4  │   │  pg 3 │ pg 4  │
  1511.             ││      │      ││   │               │   │       │       │
  1512.             │└──────┴──────┘│   │               │   │       │       │
  1513.             └───────────────┘   └───────────────┘   └───────────────┘
  1514.                Full Frame            No Frame           "T" Frame
  1515.  
  1516.             ┌───────────────┐   ┌───────────────┐   ┌───────────────┐
  1517.             │ ──────┬────── │   │       │       │   │ ───────────── │
  1518.             │       │       │   │       │       │   │               │
  1519.             │  pg 1 │ pg 2  │   │  pg 1 │ pg 2  │   │  pg 1   pg 2  │
  1520.             │       │       │   │       │       │   │               │
  1521.             │ o─────o─────o │   │ o     o     o │   │ o     o     o │
  1522.             ╞(═════(═════(══╡   ╞(═════(═════(══╡   ╞(═════(═════(══╡
  1523.             │ o─────o─────o │   │ o     o     o │   │ o     o     o │
  1524.             │       │       │   │       │       │   │               │
  1525.             │  pg 3 │ pg 4  │   │  pg 3 │ pg 4  │   │  pg 3   pg 4  │
  1526.             │       │       │   │       │       │   │               │
  1527.             │ ──────┴────── │   │       │       │   │ ───────────── │
  1528.             └───────────────┘   └───────────────┘   └───────────────┘
  1529.                 "I" Frame          "!" Frame            "-" Frame
  1530.  
  1531.             ┌───────────────┐   ┌───────────────┐   ┌───────────────┐
  1532.             │ ───────────── │   │┌─────────────┐│   │┌──────┬──────┐│
  1533.             │               │   ││             ││   ││      │      ││
  1534.             │  pg 1   pg 2  │   ││ pg 1   pg 2 ││   ││ pg 1 │ pg 2 ││
  1535.             │               │   ││             ││   ││      │      ││
  1536.             │ o─────o─────o │   │└o─────o─────o┘│   │ o     o     o │
  1537.             ╞(═════(═════(══╡   ╞(═════(═════(══╡   ╞(═════(═════(══╡
  1538.             │ o─────o─────o │   │┌o─────o─────o┐│   │ o     o     o │
  1539.             │               │   ││             ││   ││      │      ││
  1540.             │  pg 3   pg 4  │   ││ pg 3   pg 4 ││   ││ pg 3 │ pg 4 ││
  1541.             │               │   ││             ││   ││      │      ││
  1542.             │ ───────────── │   │└─────────────┘│   │└──────┴──────┘│
  1543.             └───────────────┘   └───────────────┘   └───────────────┘
  1544.                 "=" Frame          "O" Frame        "M" or "W" Frame
  1545.  
  1546.  
  1547.  
  1548.      Here are a few examples of custom frames:
  1549.  
  1550.         C>4print myfile -faaaaa
  1551.  
  1552.           All lines of the frame will be printed.  This is the same as
  1553.           specifying "-ff", or letting the frame style default.
  1554.  
  1555.      ──────────────────────────────────────────────────────────────────────
  1556.      22                                                 4Print User's Guide
  1557.  
  1558.  
  1559.         C>4print myfile -fnnnnn
  1560.  
  1561.           No lines of the frame will be printed.  This is the same as
  1562.           specifying "-fn" or "-f0".
  1563.  
  1564.         C>4print myfile -fttnan
  1565.  
  1566.           The top line will be printed only if the title is on top of the
  1567.           page, and the bottom line will be printed only if the title is on
  1568.           the bottom.  The left line will never be printed, the center line
  1569.           will always be printed, and the right line will never be printed. 
  1570.           This is "T" frame, which can also be specified as "-ft".
  1571.  
  1572.         C>4print myfile -fntann
  1573.  
  1574.           The top line will never be printed, the bottom line will only be
  1575.           printed if the title is on the bottom, the left line will always
  1576.           be printed, and the center and bottom lines will never be print-
  1577.           ed.  Consider an open three-ring binder with a reverse side page
  1578.           (title on top) above a front side page (title on the bottom). 
  1579.           The effect will be that the group of two pages will have a line
  1580.           down the left side, and another line across the bottom of the
  1581.           group.
  1582.  
  1583.  
  1584.      ──────────────────────────────────────────────────────────────────────
  1585.      Column Selection And Line Formatting: The -FMT Option
  1586.  
  1587.      4Print now has the ability to print only selected columns (character
  1588.      positions) in a document, transpose columns, and insert text in each
  1589.      line to make the printout more readable.  The general format of the
  1590.      "-fmt" option is:
  1591.  
  1592.         -fmt<format specifier>,[<format specifier>...]
  1593.  
  1594.      In other words, this means that "-fmt" may be followed by one or more
  1595.      format specifiers separated by commas.  A format specifier may be one
  1596.      of these, where "a" and "b" designate character columns in the docu-
  1597.      ment to be printed (the leftmost character column has number 1):
  1598.  
  1599.           ┌───────────────────────────────────────────────────────────┐
  1600.           │ Format     Description                                    │
  1601.           │───────────────────────────────────────────────────────────│
  1602.           │ a          print only column a                            │
  1603.           │ a-         print from column a to the end of the line     │
  1604.           │ a-b        print from columns a through b, inclusive      │
  1605.           │ -b         print from column 1 through column b.          │
  1606.           │ "any text" insert any text (must not contain quotes)      │
  1607.           │ 'any text' insert any text (must not contain apostrophes) │
  1608.           └───────────────────────────────────────────────────────────┘
  1609.  
  1610.  
  1611.  
  1612.  
  1613.      ──────────────────────────────────────────────────────────────────────
  1614.      Chapter Four: Page Formatting                                       23
  1615.  
  1616.  
  1617.      Here are a number of line formatting examples:
  1618.  
  1619.         C>4print myfile -fmt2-
  1620.  
  1621.           The first character position of each line of the document will be
  1622.           ignored.  Everything from the second position to the end of the
  1623.           line will be printed.
  1624.  
  1625.           See the description of the "-mf" (mainframe carriage control)
  1626.           switch in Chapter Six before you use this command to suppress
  1627.           those funny 1's and 0's which appear in some documents originally
  1628.           created on IBM mainframes.
  1629.  
  1630.         C>4print myfile -fmt-40
  1631.  
  1632.           Everything up to and including character position 40 of the
  1633.           document will be printed, and the rest will be ignored.
  1634.  
  1635.         C>4print myfile -fmt10-70
  1636.  
  1637.           Only columns 10 through 70 of the document will be printed.
  1638.  
  1639.         C>4print myfile -fmt"     ",10-70
  1640.  
  1641.           Columns 10 through 70 will be printed, and each line will be pre-
  1642.           ceded by five spaces.  Note that the same effect could have been
  1643.           achieved with:
  1644.  
  1645.                C>4print myfile -fmt10-70 -i5
  1646.  
  1647.         C>4print myfile -fmt-20,41-50
  1648.  
  1649.           Each line of the printout will be thirty characters wide.  The
  1650.           printed lines will consist of the first twenty characters of the
  1651.           corresponding line of the document, immediately followed by
  1652.           columns 41-50 of the same line in the document.
  1653.  
  1654.         C>4print myfile -fmt-20,41-
  1655.  
  1656.           Columns 21-40 of every line of the document will be ignored.
  1657.  
  1658.         C>4print myfile -fmt-20," | ",41-
  1659.  
  1660.           Same as the above, except there will be a vertical bar on each
  1661.           page separating columns 1-20 from columns 41 to the end of each
  1662.           line.
  1663.  
  1664.         C>4print myfile -fmt1-,"!"
  1665.  
  1666.           Every line of the document will be printed with an exclamation
  1667.           point immediately following the line.
  1668.  
  1669.  
  1670.  
  1671.      ──────────────────────────────────────────────────────────────────────
  1672.      24                                                 4Print User's Guide
  1673.  
  1674.  
  1675.                                                  ┌─────────────────────┐
  1676.                                                  │ Name Addr Zip Phone │
  1677.                                                  │─────────────────────│
  1678.          Original database report as printed in  │ xxx  xxxx xxx xxxxx │
  1679.               one wide column across the page   │ xxxx xx   xxx xxxxx │
  1680.                                                  │ xxx  xxx  xxx xxxxx │
  1681.                                                  │ xxxx xxxx xxx xxxxx │
  1682.                                                  └─────────────────────┘
  1683.                                                  ┌─────────────────────┐
  1684.                                                  │ Name Phone Addr Zip │
  1685.                                                  │─────────────────────│
  1686.           Use "-fmt" option to move Phone field  │ xxx  xxxxx xxxx xxx │
  1687.               between Name and Address fields   │ xxxx xxxxx xx   xxx │
  1688.                                                  │ xxx  xxxxx xxx  xxx │
  1689.                                                  │ xxxx xxxxx xxxx xxx │
  1690.                                                  └─────────────────────┘
  1691.                                                  ┌─────────────────────┐
  1692.                                                  │ Name Phone          │
  1693.                                                  │─────────────────────│
  1694.                   If you don't need the Address  │ xxx  xxxxx          │
  1695.             and Zip Code fields, you could just  │ xxxx xxxxx          │
  1696.                                leave them out   │ xxx  xxxxx          │
  1697.                                                  │ xxxx xxxxx          │
  1698.                                                  └─────────────────────┘
  1699.                                                  ┌─────────────────────┐
  1700.                                                  │Name Phone│Name Phone│
  1701.                  Of course, once you're leaving  │──────────│──────────│
  1702.             them out, you might as well go back  │ xxx  xxxx│xxxx xxxx │
  1703.             to 4Print's two-column mode and get  │ xxxx xxxx│xxx  xxxx │
  1704.             twice as many names on the page!    │ xxx  xxxx│xxxx xxxx │
  1705.                                                  │ xxxx xxxx│xxxx xxxx │
  1706.                                                  └─────────────────────┘
  1707.  
  1708.  
  1709.  
  1710.         C>4print myfile -fmt1-79,"!"
  1711.  
  1712.           Every line will be printed up to column 79 (with trailing spaces
  1713.           if necessary), and an exclamation point will appear in column 80.
  1714.  
  1715.         C>4print myfile -fmt160-180," | ",20-30," | ",60-70
  1716.  
  1717.           You might use this to select columns of a very wide spreadsheet
  1718.           and print them separated by vertical bars.  Note that the columns
  1719.           selected don't have to be in the order in which they appear in
  1720.           the document or spreadsheet.
  1721.  
  1722.         C>4print myfile -fmt1-10," + ",14-22," = ",26-36
  1723.  
  1724.           This example prints selected columns from a spreadsheet as for-
  1725.           mulas, where the third spreadsheet column was calculated as the
  1726.           sum of the first two spreadsheet columns.
  1727.  
  1728.  
  1729.      ──────────────────────────────────────────────────────────────────────
  1730.      Chapter Four: Page Formatting                                       25
  1731.  
  1732.  
  1733.         C>4print myfile -fmt80-1
  1734.  
  1735.           If you've read this far, you deserve a special treat.  Try this
  1736.           format specification and see what it does!
  1737.  
  1738.  
  1739.      ──────────────────────────────────────────────────────────────────────
  1740.      Changing the Default Header: The -H Option
  1741.  
  1742.      (See also the tip about operation with keyboard enhancers at the end
  1743.      of "Full Font Selection: The -[ Option" in Chapter Six.)
  1744.  
  1745.      4Print normally prints the file name, date, and time in boldface on
  1746.      the top of each page, along with the page number and page count of the
  1747.      document.  The "-h" option allows you to substitute your own header
  1748.      (or title):
  1749.  
  1750.         C>4print myfile -h
  1751.  
  1752.           Here we are specifying that no title is to be printed.
  1753.  
  1754.         C>4print myfile -hWHOOPIE!
  1755.  
  1756.           In this example, we are replacing the default title with the
  1757.           character string "WHOOPIE!", which will be centered at the top of
  1758.           every printed page.
  1759.  
  1760.         C>4print myfile -h"This is a Title"
  1761.  
  1762.           Here we show that the title may be enclosed in quotes.  Single
  1763.           quotes (apostrophes) or double quotes are acceptable, but the
  1764.           surrounding quote character can't occur in the middle of a title
  1765.           (we didn't implement a "doubling" convention for quotes, not
  1766.           having a doubling cube handy).  You can, however, get both quotes
  1767.           in a title, if necessary, by using the unquoted title form
  1768.           described in the next example:
  1769.  
  1770.         C>4print myfile -hThis_is_a_Title
  1771.  
  1772.           This example is equivalent to the one above, and doesn't require
  1773.           spaces in the title text.  This form of titling is useful when
  1774.           passing 4Print options through a batch file or CED string.
  1775.  
  1776.      If the "-h" isn't immediately followed by a single or double quote, or
  1777.      if a quote character is unmatched, the title is considered to be all
  1778.      characters up until the next space or the end of the command line. 
  1779.      Since an underscore represents a space in the printed title, you can
  1780.      get both quote characters in a title by using something like:
  1781.  
  1782.         C>4print myfile -h_"Do's"_and_"Don'ts"
  1783.  
  1784.           Note the underscore after the "-h" to make sure 4Print doesn't
  1785.           think the first quote is meant to surround a title.
  1786.  
  1787.      ──────────────────────────────────────────────────────────────────────
  1788.      26                                                 4Print User's Guide
  1789.  
  1790.  
  1791.      A number of characters and character strings cause substitutions when
  1792.      a title is printed.  They must all be specified in lower case:
  1793.  
  1794.         ┌────────────────────────────────────────────────────────────────┐
  1795.         │ Formats    Description                                         │
  1796.         │────────────────────────────────────────────────────────────────│
  1797.         │ $fn        The file name is printed                            │
  1798.         │ $fd        The file's creation or modification date is printed │
  1799.         │ $ft        The file's creation or modification time is printed │
  1800.         │ $td        Today's date is printed                             │
  1801.         │ $tt        Today's time (the current time) is printed          │
  1802.         │ $pn        The current page number is printed                  │
  1803.         │ $pp        The number of pages in the document is printed      │
  1804.         │ $cn        The current column number is printed                │
  1805.         │ $cc        The number of columns in the document is printed    │
  1806.         │ underscore A space character is printed                        │
  1807.         │ //         Centering is split                                  │
  1808.         │ [...]      Text suppressed if the number of pages is unknown   │
  1809.         └────────────────────────────────────────────────────────────────┘
  1810.  
  1811.      If a dollar sign appears in any context other than those above, it is
  1812.      eliminated when the title is printed, and the character following the
  1813.      dollar sign is taken literally.  Therefore, use "$_" to print an
  1814.      underscore, and "$$" to print the dollar sign character itself.
  1815.  
  1816.      The purpose of the underscore-to-space substitution is to allow most
  1817.      titles to be specified without surrounding quotes, in order to facili-
  1818.      tate argument passing in batch files or CED strings.
  1819.  
  1820.      Unless split centering is used, 4Print will center the supplied title
  1821.      across the length of the page (across all columns taken together).  If
  1822.      "//" appears in the title, 4Print will center
  1823.      everything appearing to the left of the "//"       ┌─────────────────┐
  1824.      (after substitution) in the left column, and       │ centered title  │
  1825.      everything appearing to the right of the "//"      │────────┬────────│
  1826.      in the right column.                               │        │        │
  1827.                                                         │        │        │
  1828.      There is no way to avoid centering or split        │        │        │
  1829.      centering of titles.  However, an off-center       │        │        │
  1830.      effect may be achieved by preceding the title      └─────────────────┘
  1831.      text with a number of spaces, in which case             Centering
  1832.      the title text will appear right of center.  By
  1833.      the same token, following the title text with      ┌─────────────────┐
  1834.      spaces will cause it to appear left of center      │ split     title │
  1835.      (within the whole line or, in the case of split    │────────┬────────│
  1836.      centering, within the appropriate column).         │        │        │
  1837.                                                         │        │        │
  1838.      Brackets are used to suppress text in the title    │        │        │
  1839.      when the document's page count is unknown (this    │        │        │
  1840.      happens when "-q" is used to eliminate the scan    └─────────────────┘
  1841.      pass).  Simply enclose the text to be condi-         Split Centering
  1842.      tionally suppressed in "[" and "]".
  1843.  
  1844.  
  1845.      ──────────────────────────────────────────────────────────────────────
  1846.      Chapter Four: Page Formatting                                       27
  1847.  
  1848.  
  1849.      The "$cn" and "$cc" forms are a special usage with limited implementa-
  1850.      tion.  They allow documents to be printed with "page" numbers corres-
  1851.      ponding to what 4Print considers to be "columns."  The first 66 lines
  1852.      of output, then, would be "column 1," and the next 66 (on the right
  1853.      side of the same "page") would be "column 2."
  1854.  
  1855.      The limited implementation of $cn and $cc works like this: "$cc"
  1856.      simply prints twice the number of pages in the document, if known (we
  1857.      ignore the fact that the last column of a document may be blank). 
  1858.      "$cn" normally prints twice the page number minus one.  If split cen-
  1859.      tering is used (see above), "$cn" prints twice the page number minus
  1860.      one for the left side, and twice the page number for the right side.
  1861.  
  1862.      Consider the following example:
  1863.  
  1864.         C>4print myfile -s -h"Page $cn of $cc//Page $cn of $cc"
  1865.  
  1866.           This would print a single-sided document which you could cut down
  1867.           the middle, punch holes in, and insert into an IBM-sized
  1868.           three-ring binder.  Notice that we are printing 4Print "column"
  1869.           numbers, but calling them "Page" in the title because that's what
  1870.           they would refer to after the document is cut.
  1871.  
  1872.      For reference, here is an example where the default title is explicit-
  1873.      ly specified:
  1874.  
  1875.         C>4print myfile -h"$fn $fd $ft//Page $pn[ of $pp]"
  1876.  
  1877.  
  1878.      ──────────────────────────────────────────────────────────────────────
  1879.      Indenting Lines: The -I Option
  1880.  
  1881.      You can tell 4Print to indent each printed     ┌───────────────────┐
  1882.      line by a specified number of character        │xxx      │         │
  1883.      positions.  This allows you create a           │xxxx     │         │
  1884.      "balanced" look for documents which were       │xxxxx    │         │
  1885.      unformatted, or formatted with a width less    │xxxx     │         │
  1886.      than 80 characters.  For example:              │xxxxx    │         │
  1887.                                                     │xxxx     │         │
  1888.         C>4print myfile -i8                         └───────────────────┘
  1889.                                                          Non-Indented
  1890.           The document will be printed with
  1891.           every line indented eight character       ┌───────────────────┐
  1892.           positions.                                │  xxx    │         │
  1893.                                                     │  xxxx   │         │
  1894.      Note that indentation applies to "wrapped"     │  xxxxx  │         │
  1895.      lines as well, as described in the sections    │  xxxx   │         │
  1896.      about truncating long lines ("-t") and word    │  xxxxx  │         │
  1897.      wrapping ("-ww", "-WL", "-wp").  See also      │  xxxx   │         │
  1898.      the section describing the "-ri" option for    └───────────────────┘
  1899.      information about indenting versus right             Indented
  1900.      indenting.
  1901.  
  1902.  
  1903.      ──────────────────────────────────────────────────────────────────────
  1904.      28                                                 4Print User's Guide
  1905.  
  1906.  
  1907.      ──────────────────────────────────────────────────────────────────────
  1908.      Number of Lines Per Page: The -LPP Option
  1909.  
  1910.      As of Version 4.0, 4Print allows you to change the number of lines
  1911.      printed on each page from the default of 66 lines per page.  For
  1912.      example:
  1913.  
  1914.         C>4print myfile -lpp60
  1915.  
  1916.           The file is printed with 60 lines per page.  This might be used
  1917.           to see what the file would look like if "dumped" to an HP laser
  1918.           printer which hasn't been set up for a full 66 lines per page.
  1919.  
  1920.         C>4print myfile -lpp50
  1921.  
  1922.           The file is printed with 50 lines per page.  Since 4Print auto-
  1923.           matically adjusts the lines so they are spaced out evenly across
  1924.           the page, the result will be a printout which is much easier to
  1925.           read than a normal 66 line per page listing.  This might be used
  1926.           for proofreading a document while still retaining 4Print's
  1927.           formatting.
  1928.  
  1929.         C>4print myfile -tiny -lpp80
  1930.  
  1931.           The document will be printed using the tiny font, with 80 lines
  1932.           per page.  Had we not specified the "-tiny" option, the document
  1933.           would still have 80 lines per page, but the larger font would
  1934.           result in a much less readable printout.
  1935.  
  1936.      Although you can specify values from "-lpp20" through "-lpp200", be
  1937.      warned that the higher values create progressively more "scrunched"
  1938.      outputs, and very high values can cause your printer's internal
  1939.      buffers to overflow (a situation which 4Print can't detect, and which
  1940.      would force you to press RESET on your printer or turn your printer
  1941.      off and on).
  1942.  
  1943.  
  1944.      ┌───────────────────────────────────────────────────────────────────┐
  1945.      │  Tip: You can create some special purpose 4Print outputs using a  │█
  1946.      │  combination of the "-lpp" and the "-#" (or "-]") options.  For   │█
  1947.      │  example, you can use a very large font and tell 4Print to only   │█
  1948.      │  allow 24 lines per page.  For very small fonts, you might want   │█
  1949.      │  to also use the "-tiny" option to allow more characters per      │█
  1950.      │  line, or perhaps even the "-pr" option to "fake out" 4Print      │█
  1951.      │  into thinking it's dealing with a proportional font, and thus    │█
  1952.      │  not truncate or wrap any lines at all.                           │█
  1953.      │                                                                   │█
  1954.      └───────────────────────────────────────────────────────────────────┘█
  1955.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.      ──────────────────────────────────────────────────────────────────────
  1962.      Chapter Four: Page Formatting                                       29
  1963.  
  1964.  
  1965.      ──────────────────────────────────────────────────────────────────────
  1966.      Maximum Throughput: The -MAX Switch
  1967.  
  1968.      A certain combination of 4Print options works well to maximize the
  1969.      amount of information printed on a single sheet of paper.  We've
  1970.      provided the "-max" switch as a shortcut for this group of options. 
  1971.      Please refer to the relevant sections of this manual for more detailed
  1972.      information about the options automatically set by "-max".
  1973.  
  1974.      You can maximize the amount of information printed on a single sheet
  1975.      of paper like this:
  1976.  
  1977.         C>4print myfile -max
  1978.  
  1979.           The document will be printed in three columns in a tiny squashed
  1980.           font using 88 lines per page on a LaserJet, and 60 lines per page
  1981.           on a DeskJet.  Form feeds and multiple blank lines will be
  1982.           compressed.
  1983.  
  1984.         C>4print myfile -3 -tiny -sq -xf -xb -lpp88
  1985.         C>4print myfile -3 -tiny -sq -xf -xb -dj -lpp60
  1986.  
  1987.           These two commands are equivalent to the one above for the
  1988.           LaserJet and the DeskJet, respectively.
  1989.  
  1990.      Note that 4Print doesn't attempt to print as many lines on a page when
  1991.      maximizing DeskJet printouts.  This is due to a hardware limitation in
  1992.      the DeskJet which causes partially-printed pages to be ejected when a
  1993.      program attempts to put too much information on a page.
  1994.  
  1995.      For completely unformatted ASCII files (no page breaks), "-max" on a
  1996.      LaserJet will print 528 80-character lines on two sides of a single
  1997.      sheet of paper.  This is like printing EIGHT pages on a single sheet. 
  1998.      If there are page breaks and/or multiple blank line sequences in the
  1999.      file, "-max" will print even more than eight pages on a single sheet!
  2000.  
  2001.      You can use "-max" and "-doc" together like this:
  2002.  
  2003.         C>4print myfile -max -doc
  2004.  
  2005.           The file will be "maximized" in three columns, and in addition,
  2006.           the pages will be horizontally centered.
  2007.  
  2008.  
  2009.      ──────────────────────────────────────────────────────────────────────
  2010.      Numbering Lines: The -N and -NP Options
  2011.  
  2012.      4Print can automatically number the lines of your document in two
  2013.      ways.  The simplest is as follows:
  2014.  
  2015.         C>4print myfile -n
  2016.  
  2017.           The document will be printed with line numbers starting from 1.
  2018.  
  2019.      ──────────────────────────────────────────────────────────────────────
  2020.      30                                                 4Print User's Guide
  2021.  
  2022.  
  2023.      You can control the starting line number of the document like this:
  2024.  
  2025.         C>4print myfile -n201
  2026.  
  2027.           The document will be printed with line numbers starting from 201.
  2028.       
  2029.      We have provided this line numbering option especially for lawyers:
  2030.  
  2031.         C>4print myfile -np
  2032.  
  2033.           The document will be printed with line numbers starting from one
  2034.           on each page.
  2035.  
  2036.  
  2037.      ──────────────────────────────────────────────────────────────────────
  2038.      IBM-style Binders: The -RI Option
  2039.  
  2040.      4Print provides limited support for the creation of printouts which
  2041.      will be held in IBM-style binders.  The "-ri" option allows you to
  2042.      specify a second indentation level which is only applied to the
  2043.      right-hand column of each page.  This allows you to compensate for the
  2044.      margin on the left side of the paper.  If you specify both "-i" and
  2045.      "-ri", BOTH INDENTS will be applied to the right-hand column.  For
  2046.      example:
  2047.  
  2048.         C>4print myfile -i2 -ri8
  2049.  
  2050.           The document will be printed with the left column indented two
  2051.           character positions, and the right column indented ten (2+8)
  2052.           character positions.
  2053.  
  2054.      We have found that the combination      Left margin consists of margin
  2055.      of "-i2" and "-ri8" shown in the        outside 4Print frame plus left
  2056.      example above adjusts the page in       indent (if any).
  2057.      such a manner as to create pages          
  2058.      which can be easily cut in half and     ├───┤
  2059.      inserted into an IBM-style binder.      ┌────────────┬────────────┐
  2060.      Special paper may be purchased          │ ┌──────────┼──────────┐ │
  2061.      which has a micro-perforation down      │o│  This is │o This is │ │
  2062.      the middle and six holes punched in     │ │  on the  │  on the  │ │
  2063.      such a manner as to make splitting      │ │  left.   │  right.  │ │
  2064.      each page apart and inserting into      │o│          │o         │ │
  2065.      an IBM-style binder very easy.          │ │          │          │ │
  2066.                                              │ │          │          │ │
  2067.      Note that when the "-ri" option is      │o│          │o         │ │
  2068.      used, the left and right columns        │ └──────────┼──────────┘ │
  2069.      will wrap (or be truncated) at dif-     └────────────┴────────────┘
  2070.      ferent character positions.  Thus,                   ├─┤
  2071.      you may want to pre-format output                     
  2072.      designed for IBM binders so as to       No frame margin!  Left margin
  2073.      avoid lines longer than will fit in     consists of left indent only.
  2074.      the right hand column.  Note also       Use "-ri" to compensate.
  2075.      that when creating IBM-style bind-
  2076.  
  2077.      ──────────────────────────────────────────────────────────────────────
  2078.      Chapter Four: Page Formatting                                       31
  2079.  
  2080.  
  2081.      ers, you may very well want to use the "-f0" (no frame) and "-h" (no
  2082.      header) options (along with the "-ri" option) to create a "clean"
  2083.      looking page.  See Chapter Seven for more information about printing
  2084.      documentation for IBM-style binders.
  2085.  
  2086.  
  2087.      ──────────────────────────────────────────────────────────────────────
  2088.      Truncating Long Lines: The -T Switch
  2089.  
  2090.      4Print will print up to 80 characters across in each of the two
  2091.      columns on a sheet of paper.  If a file line plus indentation (see the
  2092.      "-i" option above) is longer than 80 columns, 4Print will normally
  2093.      print the first 80 columns, and continue the file line on the next
  2094.      printed line, starting with the characters "=>".  Line wrapping will
  2095.      occur across multiple print lines, if necessary.
  2096.  
  2097.      To truncate (rather than wrap) long lines, use:
  2098.  
  2099.         C>4print myfile -t
  2100.  
  2101.           The "-t" switch tells 4Print that you want long lines to be trun-
  2102.           cated rather than wrapped.  4Print will simply print the first 80
  2103.           characters of the long line, and continue with the next file line
  2104.           on the next printed line.
  2105.  
  2106.      This feature can be useful for documentation files which have a few
  2107.      long lines and are formatted based on exactly 66 lines per page.
  2108.  
  2109.      For more information on 4Print's handling of long lines, see the
  2110.      discussion about word wrapping below.
  2111.  
  2112.  
  2113.      ──────────────────────────────────────────────────────────────────────
  2114.      Overriding Title Placement: The -TT, -TB, and -TA Switches
  2115.  
  2116.      Under normal circumstances, 4Print will print the title line, or
  2117.      header, at the bottom of the page for the front of your document, and
  2118.      at the top of the page for the back of your document.  This causes the
  2119.      title line to always appear on the "outside" when the document is
  2120.      placed in a three-ring binder.  If you wish to override the default
  2121.      title placement, use one of the following switches:
  2122.  
  2123.         C>4print myfile -tt
  2124.  
  2125.           All title lines will be printed at the top of the page.
  2126.  
  2127.         C>4print myfile -tb
  2128.  
  2129.           All title lines will be printed at the bottom of the page.
  2130.  
  2131.      Note that the "-ta" switch (which specifies the default of alternating
  2132.      title placement) is provided for completeness, and also to allow you 
  2133.  
  2134.  
  2135.      ──────────────────────────────────────────────────────────────────────
  2136.      32                                                 4Print User's Guide
  2137.  
  2138.  
  2139.        ┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
  2140.        │ ──TITLE LINE─── │     │        │        │     │ ──TITLE LINE─── │
  2141.        │        │        │     │        │        │     │        │        │
  2142.        │        │        │     │        │        │     │        │        │
  2143.        │        │        │     │        │        │     │        │        │
  2144.        │ o      o      o │     │ o─TITLE LINE──o │     │ o      o      o │
  2145.        ╞(══════(══════(══╡     ╞(══════(══════(══╡     ╞(══════(══════(══╡
  2146.        │ o─TITLE LINE──o │     │ o      o      o │     │ o      o      o │
  2147.        │        │        │     │        │        │     │        │        │
  2148.        │        │        │     │        │        │     │        │        │
  2149.        │        │        │     │        │        │     │        │        │
  2150.        │        │        │     │ ──TITLE LINE─── │     │ ──TITLE LINE─── │
  2151.        └─────────────────┘     └─────────────────┘     └─────────────────┘
  2152.        "-tt" Titles on Top   "-tb" Titles on Bottom     "-ta" Alternating
  2153.  
  2154.  
  2155.  
  2156.      to obtain alternating titles if you've changed the default (see
  2157.      Appendix C).
  2158.  
  2159.  
  2160.      ──────────────────────────────────────────────────────────────────────
  2161.      Top Indent: The -TI Option
  2162.  
  2163.      You can tell 4Print to leave blank space at the top of each page with
  2164.      the "-ti" option:
  2165.  
  2166.         C>4print myfile -ti4
  2167.  
  2168.           Four blank lines will be printed at the top of each page.
  2169.  
  2170.      Note that the amount of       ┌─────────────────┐  ┌─────────────────┐
  2171.      blank space is dependent      │ xxx    │        │  │        │        │
  2172.      upon the current number of    │ xxxxxx │        │  │ xxx    │        │
  2173.      lines being printed on a      │ xxxxx  │        │  │ xxxxxx │        │
  2174.      page.  For example, to        │ xxxxxx │        │  │ xxxxx  │        │
  2175.      leave the top third of the    │        │        │  │ xxxxxx │        │
  2176.      page blank, you'd normally    │        │        │  │        │        │
  2177.      specify "-ti22" (because      └─────────────────┘  └─────────────────┘
  2178.      66 lines per page are             Non-Indented          Top Indent
  2179.      printed by default). 
  2180.      However, if you changed
  2181.      the number of lines per page to 90 (with "-lpp90"), you'd have to
  2182.      specify "-ti30" to leave the top third of each page blank.
  2183.  
  2184.      See the section on page centering above for a different strategy for
  2185.      leaving blank lines on the top of the page.
  2186.  
  2187.  
  2188.  
  2189.  
  2190.  
  2191.  
  2192.  
  2193.      ──────────────────────────────────────────────────────────────────────
  2194.      Chapter Four: Page Formatting                                       33
  2195.  
  2196.  
  2197.      ──────────────────────────────────────────────────────────────────────
  2198.      Word Wrapping: The -WW, -WL, and -WP Switches
  2199.  
  2200.      New with Version 4.0, 4Print can keep words together when it needs to
  2201.      split long lines into multiple pieces.  There are three kinds of word
  2202.      wrapping, bringing the total number of 4Print's long line handling
  2203.      options to six.  Normal word wrapping is specified like this:
  2204.  
  2205.         C>4print myfile -ww
  2206.  
  2207.           Long lines in the file will be word wrapped, where each continua-
  2208.           tion line will start at the position of the first non-blank
  2209.           character in the preceding line.
  2210.  
  2211.      Word wrapping can be useful when printing very wide ASCII documents,
  2212.      or when printing draft copies of documents created with word proces-
  2213.      sors which save paragraphs as if they were very long, single ASCII
  2214.      lines.
  2215.  
  2216.      Note that when "-ww" is specified, 4Print will not insert the "=>"
  2217.      symbol (see the "-t" switch above) at the beginning of continuation
  2218.      lines, and will not indent those lines.
  2219.  
  2220.      Here's how to specify another style of word wrapping.  Note that we're
  2221.      capitalizing "-wl" simply to distinguish the "L" from the digit "1"
  2222.      (4Print will accept either form):
  2223.  
  2224.         C>4print myfile -WL
  2225.  
  2226.           Long lines in the file will "word wrap left," meaning that each
  2227.           continuation line will start at the column's left margin (the
  2228.           first character position plus any indentation specified with "-i"
  2229.           or "-ri").
  2230.  
  2231.      We've provided a third style of word wrapping of interest primarily to
  2232.      programmers:
  2233.  
  2234.         C>4print myfile -wp
  2235.  
  2236.           Long lines in the file will be word wrapped, where each continua-
  2237.           tion line will start at the position of the first non-blank
  2238.           character in the preceding line, plus four character positions.
  2239.  
  2240.      This latter form of word wrapping results in an especially nice look-
  2241.      ing output for free-form, normally indented programming languages such
  2242.      as C and Pascal.
  2243.  
  2244.      It turns out that the "-wp" switch can be used in a manner in which it
  2245.      was not originally intended.  When printing ASCII files with very long
  2246.      "lines" (such as those produced by WordPerfect and Microsoft Word
  2247.      export functions), using "-wp" will result in a very nice "hanging
  2248.      indent" for each paragraph of text.  In fact, you can even get a good
  2249.      looking draft document by simply using the "-wp" switch and 4printing
  2250.  
  2251.      ──────────────────────────────────────────────────────────────────────
  2252.      34                                                 4Print User's Guide
  2253.  
  2254.  
  2255.              ┌────────────────┬─       ┌────────────────┬─
  2256.              │  You are lost i│        │  You are lost i│
  2257.              │=>n a maze of tw│        │                │
  2258.              │=>isty little pa│        │                │
  2259.              │=>ssages.       │        │                │
  2260.              └────────────────┴─       └────────────────┴─
  2261.                                               
  2262.              By default, long lines     Truncate long lines
  2263.              wrap to the next line,    using the "-t" option.
  2264.              ignoring word breaks.
  2265.                                                      ┌────────────────┬─
  2266.      ┌────────────────┬─     ┌────────────────┬─     │  You are lost  │
  2267.      │  You are lost  │      │  You are lost  │      │      in a maze │
  2268.      │in a maze of    │      │  in a maze of  │      │      of twisty │
  2269.      │twisty little   │      │  twisty little │      │      little    │
  2270.      │passages.       │      │  passages.     │      │      passages. │
  2271.      └────────────────┴─     └────────────────┴─     └────────────────┴─
  2272.                                                            
  2273.      Word Wrap Left "-WL"      Word Wrap "-ww"       Indented Wrap "-wp"
  2274.       New lines continue      New lines aligned      New lines indented
  2275.        at left margin.        with starting line.    from starting line.
  2276.  
  2277.              ┌────────────────┬─       ┌────────────────┬─
  2278.              │while (n--) {   │        │while (n--) {   │
  2279.              │  printf("%10s",│        │  printf("%10s",│
  2280.              │=>msg);         │        │      msg);     │
  2281.              │}               │        │}               │
  2282.              └────────────────┴─       └────────────────┴─
  2283.                                               
  2284.                 By default,           Programmer's Wrap "-wp"
  2285.              long source lines        Continuation lines are
  2286.            are broken and wrapped       indented from the
  2287.              to the left margin.          starting line.
  2288.  
  2289.  
  2290.  
  2291.  
  2292.      a Microsoft Word document directly!  (This technique does not work
  2293.      well with WordPerfect, however - be sure to export your WordPerfect
  2294.      documents in ASCII form before 4Printing them.)
  2295.  
  2296.  
  2297.      ──────────────────────────────────────────────────────────────────────
  2298.      Compressing Blank Lines: The -XB Switch
  2299.  
  2300.      You can tell 4Print to replace multiple blank lines with a single
  2301.      blank line.  In addition, any blank lines at the top of a page will
  2302.      not be printed:
  2303.  
  2304.         C>4print myfile -xb
  2305.  
  2306.           The document will be printed with blank lines compressed to a
  2307.           single blank line.
  2308.  
  2309.      ──────────────────────────────────────────────────────────────────────
  2310.      Chapter Four: Page Formatting                                       35
  2311.  
  2312.  
  2313.      ──────────────────────────────────────────────────────────────────────
  2314.      Compressing Form Feeds: The -XF Switch
  2315.  
  2316.      4Print normally skips to the next column when a form feed is encoun-
  2317.      tered in a document.  (The same situation occurs when a "1" is encoun-
  2318.      tered as the first character on a line when the "-mf" switch is used.)
  2319.      You can save paper by telling 4Print to replace form feeds with a line
  2320.      of underscores and a blank line, and then continue printing in the
  2321.      same column:
  2322.  
  2323.         C>4print myfile -xf
  2324.  
  2325.           The document will be printed with form feeds replaced by a line
  2326.           of underscores and a blank line.
  2327.  
  2328.  
  2329.           ┌───────────────────┐           ┌───────────────────┐
  2330.           │xxxx     │xxxxx    │           │xxxx     │xxxx     │
  2331.           │xxxxx    │xxxxxx   │           │xxxxx    │─────────│
  2332.           │xxxxxxx  │         │           │xxxxxxx  │xxxxx    │
  2333.           │xxxxx    │         │           │xxxxx    │xxxxxx   │
  2334.           │         │         │           │─────────│xxxxx    │
  2335.           │         │         │           │xxxxx    │─────────│
  2336.           │         │         │           │xxxxxx   │xxxx     │
  2337.           └───────────────────┘           └───────────────────┘
  2338.  
  2339.            Short pages take up            Compressed form feeds
  2340.               lots of room.           substitute lines for page breaks,
  2341.                                        cramming more text on the page.
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.      ──────────────────────────────────────────────────────────────────────
  2368.      36                                                 4Print User's Guide
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.      Chapter Five
  2382.      ──────────────────────────────────────────────────────────────────────
  2383.      Printer Mechanics
  2384.  
  2385.      4Print has been carefully constructed to handle all sorts of printer-
  2386.      related problems, including discrepancies between HP and non-HP brand
  2387.      printers, single versus double-sided printing on both duplex (IID and
  2388.      IIID) and non-duplex printers, DeskJet-specific issues, etc.  This
  2389.      chapter describes the many options available to handle the physical
  2390.      aspects of using 4Print.
  2391.  
  2392.  
  2393.      ──────────────────────────────────────────────────────────────────────
  2394.      A4 Paper Handling: The -A4 Switch
  2395.  
  2396.      If your printer is loaded with A4-type paper (common in Europe), use
  2397.      the following switch:
  2398.  
  2399.         C>4print myfile -a4
  2400.  
  2401.           The document will be printed on A4 paper.
  2402.  
  2403.      Earlier versions of 4Print could print on A4 paper with no option
  2404.      specified, but the print image wasn't centered horizontally.  Using
  2405.      the "-a4" switch corrects this problem.
  2406.  
  2407.      Note that if you are using A4 paper, you may very well need to verti-
  2408.      cally compress the print image to get a proper 4Print printout.  You
  2409.      can accomplish this for all your 4Print runs by inserting "set
  2410.      4print=-a4 -vc" (with other desired default options) in your system
  2411.      startup procedure.  Alternatively, you can directly specify both
  2412.      options on the command line like this:
  2413.  
  2414.         C>4print myfile -a4 -vc
  2415.  
  2416.           The document will be printed vertically compressed on A4 paper.
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424.  
  2425.      ──────────────────────────────────────────────────────────────────────
  2426.      Chapter Five: Printer Mechanics                                     37
  2427.  
  2428.  
  2429.      ──────────────────────────────────────────────────────────────────────
  2430.      Duplex Printing (LJ IID/IIID): The -D Switch
  2431.  
  2432.      If you have an HP LaserJet IID, IIID or close compatible, you may
  2433.      instruct 4Print to take advantage of your printer's duplex printing
  2434.      capability (and thus complete the entire double-sided print job with
  2435.      no user intervention).  For example:
  2436.  
  2437.         C>4print myfile -d
  2438.  
  2439.           The file will be printed in duplex mode on the IID or IIID.
  2440.  
  2441.      For more information about duplex printing with short binding, see the
  2442.      section describing the "-ds" switch below.
  2443.  
  2444.  
  2445.      ──────────────────────────────────────────────────────────────────────
  2446.      Printing on a DeskJet: The -DJ Switch
  2447.  
  2448.      If you are using an HP DeskJet, DeskJet Plus or DeskJet 500, you MUST
  2449.      specify the "-dj" switch on all your 4Print runs.  The easiest way to
  2450.      accomplish this is to add the statement "set 4print=-dj" to your
  2451.      AUTOEXEC.BAT file (see the section on "The 4Print Environment Variable
  2452.      "in Chapter Three).  If you don't set the environment variable (or zap
  2453.      the 4PRINT.EXE file with debug or KAZAP - see Appendix C), you must
  2454.      include the switch in all your runs as follows:
  2455.  
  2456.         C>4print myfile -dj
  2457.  
  2458.           The file will be formatted for a DeskJet rather than a LaserJet.
  2459.  
  2460.      Assuming you had a LaserJet connected to LPT1 and a DeskJet on LPT2,
  2461.      you could make use of both printers like this:
  2462.  
  2463.         C>4print myfile
  2464.  
  2465.           The file will be printed on the LaserJet.
  2466.  
  2467.         C>4print myfile -dj -olpt2
  2468.  
  2469.           The file will be printed on the DeskJet.
  2470.  
  2471.      Note that if you are using an "original" DeskJet (as opposed to a Plus
  2472.      or a 500), you must have the optional landscape cartridge in order to
  2473.      use 4Print.  In addition, the original DeskJet does not allow land-
  2474.      scape soft fonts to be downloaded (even if you have the cartridge), so
  2475.      4Print will only work with the cartridge's built-in fonts.
  2476.  
  2477.      If you have a DeskJet Plus or 500, 4Print uses the built-in small
  2478.      Courier font for both normal and tiny mode printing.  This produces an
  2479.      acceptable print image, but if you have a 128K or 256K RAM cartridge,
  2480.      you can get better results by downloading the two DeskJet shareware
  2481.      soft fonts we've provided with this product.  Please don't forget to
  2482.  
  2483.      ──────────────────────────────────────────────────────────────────────
  2484.      38                                                 4Print User's Guide
  2485.  
  2486.  
  2487.      register these fonts with Elfring Soft Fonts if you use them regular-
  2488.      ly.  See the file REGFONTS.DOC in this package for details.
  2489.  
  2490.      Because of limitations in the DeskJet, 4Print handles frames differ-
  2491.      ently when the -DJ switch is used.  The only "frame" available when
  2492.      printing on a DeskJet is a center line column separator in two column
  2493.      mode.  This line may be eliminated by using the "-f0" option.
  2494.  
  2495.      The DeskJet cannot print as many small characters on a page as the
  2496.      LaserJet.  If you attempt to print too much on a single page, the
  2497.      DeskJet will print as much as it can on one page and then will skip to
  2498.      the next page before continuing.  This is a hardware limitation of the
  2499.      DeskJet, and 4Print cannot detect or compensate for this situation. 
  2500.      We've "tuned" the 3-column "-doc" and "-max" options so this overflow
  2501.      situation should not occur when printing most documents.
  2502.  
  2503.  
  2504.      ──────────────────────────────────────────────────────────────────────
  2505.      Duplex With Short Binding: The -DS Switch
  2506.  
  2507.      If you have a IID, IIID, or other HP-compatible duplex printer, you
  2508.      can tell 4Print to use "short binding", instead of the default long
  2509.      binding, like this:
  2510.  
  2511.         C>4print myfile -ds
  2512.  
  2513.           The document will be printed using short binding.
  2514.  
  2515.      The result is a document which, instead of being inserted in a binder
  2516.      and read in normal 4Print order, can be saddle stitched, inserted in a
  2517.      "ledger" binder, or otherwise bound on the left hand side of the page. 
  2518.      Four pages can then be viewed side by side and flipped over like a
  2519.      regular book.  For example, this is how short binding looks when
  2520.      inserted into a ledger binder:
  2521.  
  2522.  
  2523.                    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  2524.                    █ ┌──────────────────╥──────────────────┐ █
  2525.                    █ │        │        o─o        │        │ █
  2526.                    █ │        │         ║         │        │ █
  2527.                    █ │        │         ║         │        │ █
  2528.                    █ │ page 1 │ page 2 o─o page 3 │ page 4 │ █
  2529.                    █ │        │         ║         │        │ █
  2530.                    █ │        │         ║         │        │ █
  2531.                    █ │        │        o─o        │        │ █
  2532.                    █ └──────────────────╨──────────────────┘ █
  2533.                    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  2534.                         Short binding in a ledger binder
  2535.  
  2536.  
  2537.  
  2538.  
  2539.  
  2540.  
  2541.      ──────────────────────────────────────────────────────────────────────
  2542.      Chapter Five: Printer Mechanics                                     39
  2543.  
  2544.  
  2545.      ──────────────────────────────────────────────────────────────────────
  2546.      Selective Printing by Side: The -F, -B, and -R Switches
  2547.  
  2548.      You can tell 4Print to print only the front side of a listing that
  2549.      would normally be double-sided.  Note that this is not the same as
  2550.      using the "-s" switch:
  2551.  
  2552.         C>4print myfile -f
  2553.  
  2554.           Only the front side of a double-sided printout is produced.
  2555.  
  2556.      This is useful if you need to split a large printout into two 4Print
  2557.      jobs, or if you are printing over a network and don't want to tie up
  2558.      the printer before processing the reverse side.
  2559.  
  2560.      If you previously aborted 4Print after the front side of a
  2561.      double-sided printout was produced, or if you printed the front side
  2562.      using "-f", use one of the following (they are equivalent) to complete
  2563.      the job:
  2564.  
  2565.         C>4print myfile -b
  2566.         C>4print myfile -r
  2567.  
  2568.           Only the back (reverse) side of a double-sided printout is pro-
  2569.           duced.
  2570.  
  2571.      If you already printed the front side of this job, you could have
  2572.      looked at the title line of any page to determine the maximum page
  2573.      number, and then used a command like:
  2574.  
  2575.         C>4print myfile -b -q28
  2576.  
  2577.           The "-q28" tells 4Print to eliminate the scan pass, but to use
  2578.           the number 28 when printing the number of pages on the title
  2579.           line.
  2580.  
  2581.      (Note that the "-q" option stops 4Print from doing any centering.)
  2582.  
  2583.  
  2584.      ──────────────────────────────────────────────────────────────────────
  2585.      Paper Tray Selection: The -L and -LU Switches
  2586.  
  2587.      For printers which have two paper trays, 4Print prints using the upper
  2588.      tray by default (unless manual feed is specified with "-m").  If you
  2589.      wish 4Print to print using the lower tray, specify:
  2590.  
  2591.         C>4print myfile -L
  2592.  
  2593.           The document will be printed using the lower paper tray.
  2594.  
  2595.      Note that you can specify this option in upper ("-L") or lower ("-l")
  2596.      case, just like all the other options.  We show it in our example and
  2597.  
  2598.  
  2599.      ──────────────────────────────────────────────────────────────────────
  2600.      40                                                 4Print User's Guide
  2601.  
  2602.  
  2603.      on the help screen as "-L" simply because a lower case L is easily
  2604.      confused with the digit 1.
  2605.  
  2606.      The "-L" option is useful in a network environment where unholed paper
  2607.      is normally kept in the upper tray (either blank stock or company
  2608.      letterhead, for example), but programmers wish to generate 4Print
  2609.      listings on punched paper.  Simply load punched paper in the lower
  2610.      tray and make sure the command "set 4print=-L" (with other options if
  2611.      desired) appears in every programmer's startup procedure.
  2612.  
  2613.      If you have a LaserJet IIP printer or any other printer on which it is
  2614.      difficult to add paper to the lower tray, you might have use for the
  2615.      following option:
  2616.  
  2617.         C>4print myfile -Lu
  2618.  
  2619.           The front side of the document will be printed using the lower
  2620.           tray, and the back side will be printed using the upper tray.
  2621.  
  2622.      This option allows you to keep whatever stock you wish to use for
  2623.      4Print in your lower tray, but makes it possible for you to reinsert
  2624.      the document on the upper tray, after the front side is printed.
  2625.  
  2626.  
  2627.      ──────────────────────────────────────────────────────────────────────
  2628.      Manual Feed: The -M Switch
  2629.  
  2630.      4Print normally causes the printer to feed sheets from the paper
  2631.      cassette when printing both the front and reverse sides.  To use the
  2632.      manual feeder for the reverse side, specify:
  2633.  
  2634.         C>4print myfile -m
  2635.  
  2636.           The file named "myfile" in the current directory is scanned for a
  2637.           maximum page number.  You are then prompted to press <Enter>,
  2638.           whereupon the front side is printed.  You then (possibly uncurl
  2639.           and) reverse the sheets and press <Enter> again.  The printer
  2640.           will wait for you to insert each page into the manual feeder when
  2641.           the reverse side is printed.  When printing finishes, 4Print
  2642.           exits to DOS.
  2643.  
  2644.      As described under "4Print Operation" in Chapter Three, you can use
  2645.      manual feed for the entire print job by pressing "M" (instead of
  2646.      <Enter>) after the scan pass.
  2647.  
  2648.  
  2649.      ──────────────────────────────────────────────────────────────────────
  2650.      Outputting to Other Devices or to a File: The -O Option
  2651.  
  2652.      By default, 4Print will send the printout to your PRN: device.  You
  2653.      can change the output device using the "-o" option:
  2654.  
  2655.  
  2656.  
  2657.      ──────────────────────────────────────────────────────────────────────
  2658.      Chapter Five: Printer Mechanics                                     41
  2659.  
  2660.  
  2661.         C>4print myfile -olpt2:
  2662.  
  2663.           The output will be sent to LPT2: instead of to PRN:.
  2664.  
  2665.      If you'd like your output placed in a disk file rather than directly
  2666.      printed, specify the file name (with drive and path if necessary):
  2667.  
  2668.         C>4print myfile -m -omyfile.out
  2669.  
  2670.           The output will be sent to the file "myfile.out."
  2671.  
  2672.      To print this file later, we would simply type:
  2673.  
  2674.         C>copy myfile.out prn:
  2675.  
  2676.      One caveat, though: if the output is double-sided (as it would be in
  2677.      this example, because we didn't use the "-s" switch), make sure the
  2678.      "-m" switch is used.  Otherwise, you'd have no opportunity to reinsert
  2679.      the stack of paper between the front and back printing passes. If nec-
  2680.      essary, you can always defeat the manual feeder for the reverse side
  2681.      using the technique described under "Network Usage" in Appendix B.
  2682.  
  2683.      Another way to save double-sided output for later printing is to use
  2684.      the "-o" parameter in combination with the "-f" and "-b" parameters,
  2685.      as follows:
  2686.  
  2687.         C>4print myfile -f -ofront
  2688.         C>4print myfile -b -oback
  2689.  
  2690.      Later, you can "copy front prn:", flip the stack and reinsert it into
  2691.      the paper cassette, and "copy back prn:"!
  2692.  
  2693.  
  2694.      ──────────────────────────────────────────────────────────────────────
  2695.      Selective Printing by Page: The -P Option
  2696.  
  2697.      You would normally use 4Print to print an entire document.  However,
  2698.      if you need to reprint a single page or range of pages, or if some
  2699.      pages of a full output were munged and you want to reprint only those
  2700.      pages, use the -p option:
  2701.  
  2702.         C>4print myfile -s -p12
  2703.  
  2704.           This command will print page 12 only of a single-sided document.
  2705.  
  2706.         C>4print myfile -s -p12 -q50
  2707.  
  2708.           We're saving time here by telling 4Print that there are 50 pages
  2709.           in the document, thus eliminating the need for a scan pass.
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.      ──────────────────────────────────────────────────────────────────────
  2716.      42                                                 4Print User's Guide
  2717.  
  2718.  
  2719.         C>4print myfile -p12
  2720.  
  2721.           Here we're reprinting only page 12 of a double-sided document. 
  2722.           4Print will adjust the pages to printed, in this case printing
  2723.           page 11 on the front and 12 on the back.
  2724.  
  2725.         C>4print myfile -p-5
  2726.  
  2727.           4Print will reprint the document from the beginning (page 1)
  2728.           through page 6 (because page 6 is on the reverse of page 5).
  2729.  
  2730.         C>4print myfile -p21-
  2731.  
  2732.           Pages 21 through the end of the document will be reprinted.
  2733.  
  2734.         C>4print myfile -b -p21-
  2735.  
  2736.           Same as above, but only print the reverse side from page 21
  2737.           (actually, page 22) on.  This is useful if a long printout gets
  2738.           interrupted in the middle of printing the reverse side.
  2739.  
  2740.         C>4print myfile -p12-14
  2741.  
  2742.           The specified page range (actually, pages 11-14 because page 11
  2743.           is on the front side of page 12) will be reprinted.
  2744.  
  2745.         C>4print myfile -m -u -q48 -p12-14
  2746.  
  2747.           Same as above, but we're also specifying manual and unattended
  2748.           modes, and we're telling 4Print not to bother with the scan pass
  2749.           because we already know that the document is 48 pages long.  This
  2750.           is the form of 4Print that we use most often to reprint "munged"
  2751.           sections of a long document.
  2752.  
  2753.      It is appropriate to mention here that 4Print was originally designed
  2754.      to process a single file.  When multiple file support was added, we
  2755.      simply applied each specified option to all files which were being
  2756.      processed.  This means, unfortunately, that the "-q" and "-p" options
  2757.      apply to every file (which doesn't seem to be too useful).  Perhaps
  2758.      we'll change this in a future upgrade.  For now, do what we do: use
  2759.      the "-q<number>" and the "-p" options only when you are printing a
  2760.      single file.
  2761.  
  2762.  
  2763.      ──────────────────────────────────────────────────────────────────────
  2764.      Quick Printing: The -Q Switch
  2765.  
  2766.      A scan pass is normally performed to determine the number of pages in
  2767.      the file or files to be printed.  This allows 4Print to put "Page mmm
  2768.      of nnn" on the title line of each page.  The scan pass also gathers
  2769.      information necessary for 4Print to perform centering, if the "-cen"
  2770.      or the "-doc" option is specified.
  2771.  
  2772.  
  2773.      ──────────────────────────────────────────────────────────────────────
  2774.      Chapter Five: Printer Mechanics                                     43
  2775.  
  2776.  
  2777.      You can speed up 4Print by eliminating the scan pass as follows:
  2778.  
  2779.         C>4print myfile -q
  2780.  
  2781.           The scan pass is eliminated, and the default title will contain
  2782.           "Page mmm" instead of "Page mmm of nnn."
  2783.  
  2784.      The "-q" option with no page count supplied is especially handy when
  2785.      you are printing large documents on a relatively slow computer.
  2786.  
  2787.      Note that 4Print will perform no centering if "-q" is specified.
  2788.  
  2789.      If you already know a document's page count, you can eliminate the
  2790.      scan pass and still get "Page mmm of nnn" like this:
  2791.  
  2792.         C>4print myfile -q15
  2793.  
  2794.           The scan pass is eliminated, and the default title will contain
  2795.           "Page mm of 15."
  2796.  
  2797.      The "-q" option with a page count supplied is useful when you are re-
  2798.      printing a document or a section of a document, since the page count
  2799.      is known before 4Print is invoked.
  2800.  
  2801.  
  2802.      ──────────────────────────────────────────────────────────────────────
  2803.      Single-sided Documents: The -S Switch
  2804.  
  2805.      The original intent of 4Print was to save paper by printing as much
  2806.      information as possible on a single sheet.  Thus, the default method
  2807.      is to print two 66-line pages on the front of the paper, and another
  2808.      two on the back.
  2809.  
  2810.      Under certain circumstances, it is useful to print single-sided docu-
  2811.      ments.  For instance, you might not want to bother with the necessary
  2812.      paper handling to print the reverse side, or you might intend to
  2813.      spread a program listing all over your desk in order to see more than
  2814.      four pages at once.
  2815.  
  2816.      Tell 4Print to perform single-sided printing with the "-s" switch:
  2817.  
  2818.         C>4print myfile -s
  2819.  
  2820.           A single-sided printout is produced, yielding two 66-line pages
  2821.           per sheet of paper instead of four.
  2822.  
  2823.  
  2824.      ──────────────────────────────────────────────────────────────────────
  2825.      Unattended Mode: The -U Switch
  2826.  
  2827.      4Print normally prompts you to press <Enter> after the scan pass, and
  2828.      again after the first side is printed (see the section about "4Print
  2829.      Operation" in Chapter Three).  Specifying "-u" will eliminate these
  2830.  
  2831.      ──────────────────────────────────────────────────────────────────────
  2832.      44                                                 4Print User's Guide
  2833.  
  2834.  
  2835.      prompts (4Print continues as if you pressed <Enter> at each prompt). 
  2836.      This means that you will not be given an opportunity to reload the
  2837.      paper cassette before the reverse side is printed, so the "-u" switch
  2838.      is usually used with "-s" or "-m":
  2839.  
  2840.         C>4print myfile -s -u
  2841.  
  2842.           A single-sided document will be printed with no prompt after the
  2843.           scan pass.
  2844.  
  2845.         C>4print myfile -m -u
  2846.  
  2847.           A double-sided document will be printed with no prompts.  Since
  2848.           the reverse side will be printed in manual mode, the printer will
  2849.           pause before the first page of the reverse side, giving you an
  2850.           opportunity to possibly uncurl and reverse the stack.
  2851.  
  2852.           We use 4Print most often in this manner for short program list-
  2853.           ings and documents.  See also the "Network Usage" discussion in
  2854.           Appendix B.
  2855.  
  2856.      ┌───────────────────────────────────────────────────────────────────┐
  2857.      │  Tricky Tip: You can use 4Print in unattended mode and still      │█
  2858.      │  print both sides using the cassette feeder with the following    │█
  2859.      │  procedure: Print your document using the "-u" and "-m"           │█
  2860.      │  switches.  When the printer waits for you to insert the first    │█
  2861.      │  sheet for the reverse side, flip the front side, stick it back   │█
  2862.      │  in the paper cassette, and then take a scrap sheet of paper and  │█
  2863.      │  CAREFULLY insert it into the manual feeder until the sensor      │█
  2864.      │  thinks it's got a sheet to manually feed.  The trick is not to   │█
  2865.      │  release the sheet you are holding, but to fake out the printer   │█
  2866.      │  so sheets feed from the paper cassette!  We have found this      │█
  2867.      │  technique to work well with a Series II, but can't verify that   │█
  2868.      │  other printers can be fooled in this manner.                     │█
  2869.      │                                                                   │█
  2870.      └───────────────────────────────────────────────────────────────────┘█
  2871.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  2872.  
  2873.  
  2874.      ──────────────────────────────────────────────────────────────────────
  2875.      Vertical Compression: The -VC Switch
  2876.  
  2877.      If you find that your document is being printed with some information
  2878.      cut off the top or bottom (like the title or part of the frame), try
  2879.      printing your document like this:
  2880.  
  2881.         C>4print myfile -vc
  2882.  
  2883.           The document will be vertically compressed.
  2884.  
  2885.      This option was created because some near-HP-compatible printers, and
  2886.      some HP printers manufactured for the European market, have a slightly
  2887.      smaller printing area than the "standard" to which 4Print was origi-
  2888.  
  2889.      ──────────────────────────────────────────────────────────────────────
  2890.      Chapter Five: Printer Mechanics                                     45
  2891.  
  2892.  
  2893.      nally written.  The amount of "compression" necessary to display a
  2894.      full double page image on these printers is very slight, but the
  2895.      difference is visible so you should only use this option if your
  2896.      printer requires it.  If necessary, you can use "-vc" in conjunction
  2897.      with the "-Lpp" option for a more pleasing print image:
  2898.  
  2899.         C>4print myfile -vc -Lpp60
  2900.  
  2901.           The document will be vertically compressed, and 60 lines per page
  2902.           will be printed (instead of the default 66), with whitespace
  2903.           adjusted evenly among the sixty printed lines.
  2904.  
  2905.  
  2906.      ──────────────────────────────────────────────────────────────────────
  2907.      Vertical Expansion: The -VE Switch
  2908.  
  2909.      In previous versions of 4Print, no attention was paid to non-HP
  2910.      printers or HP printers (such as some European models) which didn't
  2911.      exactly conform to the print dimensions of the original HP LaserJet. 
  2912.      When we learned that a large number of printers could by used by
  2913.      4Print except for this small print area incompatibility, we slightly
  2914.      reduced the default dimensions of the 4Print image to achieve wider
  2915.      compatibility.  The slight difference in print image is visible,
  2916.      though, and some users asked for an option to print using the old
  2917.      dimensions if their printer could support it.  Try this for a short
  2918.      file:
  2919.  
  2920.         C>4print myfile -ve
  2921.  
  2922.           The document will be vertically expanded.
  2923.  
  2924.      If you can see the entire print image including the title and frame,
  2925.      then your printer supports the full print area and you might as well
  2926.      include "set 4print=-ve" (along with any other default options de-
  2927.      sired) in your system startup in order to take advantage of a larger
  2928.      print area for all 4Print runs.
  2929.  
  2930.  
  2931.      ──────────────────────────────────────────────────────────────────────
  2932.      Multiple Copies: The -X Option
  2933.  
  2934.      4Print allows you to print any number of copies of your file(s) in a
  2935.      single run.  Specify the number of copies like this:
  2936.  
  2937.         C>4print myfile -x3
  2938.  
  2939.           Three copies of the file will be printed.
  2940.  
  2941.      Note that if you are printing more than one file, 4Print will print
  2942.      the first copy of ALL FILES before it prints the second copy.  This
  2943.      makes it easy, for instance, for you to distribute a printout of three
  2944.      files to fifty people (you only have to separate the output by person,
  2945.      not by file).
  2946.  
  2947.      ──────────────────────────────────────────────────────────────────────
  2948.      46                                                 4Print User's Guide
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.  
  2956.  
  2957.  
  2958.  
  2959.  
  2960.  
  2961.      Chapter Six
  2962.      ──────────────────────────────────────────────────────────────────────
  2963.      Fonts and Control Codes
  2964.  
  2965.      4Print was designed to work with the HP LaserJet II's internal land-
  2966.      scape line printer font, which is just the right size to comfortably
  2967.      provide 66 lines down by two columns across plus frames and title - in
  2968.      other words, a normal 4Print page.  4Print also contains a built-in
  2969.      tiny font for when you need more characters across than the line
  2970.      printer font allows.
  2971.  
  2972.      If your printer doesn't contain a small fixed pitch landscape font
  2973.      (such as the HP LaserJet Plus), or if you need to print IBM graphics
  2974.      characters in a tiny font (4Print's internal tiny font doesn't contain
  2975.      these characters), you can instruct 4Print to use one of the external
  2976.      soft fonts included with this package, or you can substitute your own
  2977.      cartridge or soft fonts.  There's even limited support for proportion-
  2978.      al fonts.
  2979.  
  2980.      This chapter describes the various font selection options, as well as
  2981.      options for handling special file formats (such as mainframe carriage
  2982.      control and non-standard tab settings), and embedded escape codes.
  2983.  
  2984.  
  2985.      ──────────────────────────────────────────────────────────────────────
  2986.      Downloaded Fonts: The -# Option
  2987.  
  2988.      4Print normally depends on the availability of a small landscape font
  2989.      with fixed pitch (but see the section on proportional font support
  2990.      below).  If your printer doesn't have an internal, landscape line
  2991.      printer font, you may download such a font or provide it via a font
  2992.      cartridge.  If your font correctly matches 4Print's requirements,
  2993.      nothing further need be done.  For reference, the line printer font
  2994.      characteristics are:
  2995.  
  2996.           IBM PC ASCII symbol set
  2997.           fixed spacing
  2998.           16.6 pitch
  2999.           8.5 point size
  3000.           upright style
  3001.           medium weight
  3002.           line printer font
  3003.  
  3004.  
  3005.      ──────────────────────────────────────────────────────────────────────
  3006.      Chapter Six: Fonts and Control Codes                                47
  3007.  
  3008.  
  3009.      4Print calls for a font with these characteristics using the LaserJet
  3010.      escape sequence "Esc (10U Esc (sp16.6h8.5vsbT".  Your font will auto-
  3011.      matically be selected if it conforms to this specification.
  3012.  
  3013.      You can successfully use 4Print with any other downloaded landscape
  3014.      font by using the "-#" option, as follows:
  3015.  
  3016.         C>4print myfile -#12
  3017.  
  3018.           The file will be printed using downloaded font number 12.
  3019.  
  3020.      Of course, using the "-#" option presupposes that you have downloaded
  3021.      a permanent font and assigned it the number which was specified in the
  3022.      "-#" option.  
  3023.  
  3024.      Note that 4Print has no way of knowing the actual characteristics of
  3025.      the specified font.  If the font is too large, for example, your
  3026.      4Print output is going to look pretty strange!
  3027.  
  3028.      Courtesy of Elfring Soft Fonts, we are providing a number of shareware
  3029.      soft fonts suitable for use with 4Print.  See the accompanying files
  3030.      on the 4Print distribution disk or archive.  Even if you have the line
  3031.      printer font, you may wish to use these fonts because they result in
  3032.      more attractive printed documentation.
  3033.  
  3034.      DeskJet owners should note that the Plus and 500 models require a 128K
  3035.      or 256K RAM cartridge in order to use the soft fonts, and the original
  3036.      model DeskJet cannot use these landscape soft fonts at all.
  3037.  
  3038.      ──────────────────────────────────────────────────────────────────────
  3039.      Full Font Selection: The -[ Option
  3040.  
  3041.      As described above, 4Print assumes the availability of a landscape,
  3042.      line printer font.  If you are downloading this font or providing it
  3043.      on a font cartridge, 4Print will happily select the line printer font. 
  3044.      However, if the font you are providing does not conform sufficiently
  3045.      to line printer font characteristics, you must either specify the "-#"
  3046.      option (if you've downloaded the font) or the "-[" option (if you've
  3047.      supplied the font on a cartridge).  The "-[" option can be used to
  3048.      select a downloaded font, but it's really much easier to use "-#".
  3049.  
  3050.      Here is an example using the "-[" option:
  3051.  
  3052.         C>4print myfile -[(0U[(sp16.66h9.5vsb6T
  3053.  
  3054.           The file will be printed using the specified string to select an
  3055.           internal, downloaded, or cartridge font.  In this example, the
  3056.           characteristics of the LG095R16.USL font mentioned above are
  3057.           specified.
  3058.  
  3059.      Note that the symbol "[" is used in the selection string to denote an
  3060.      Escape character (a leading Escape is implied by the "-[").  No spaces
  3061.      are allowed in the selection string.
  3062.  
  3063.      ──────────────────────────────────────────────────────────────────────
  3064.      48                                                 4Print User's Guide
  3065.  
  3066.  
  3067.      ┌───────────────────────────────────────────────────────────────────┐
  3068.      │  Tip for Users of Keyboard Enhancement Programs: If you use CED   │█
  3069.      │  or PCED or a keyboard macro processor or other keyboard enhan-   │█
  3070.      │  cer, make sure that the font strings you are typing are really   │█
  3071.      │  being sent to 4Print the way you think they are.  For instance,  │█
  3072.      │  CED (in certain configurations) requires you to type two amper-  │█
  3073.      │  sands ("&&") to cause a single ampersand to be sent to your      │█
  3074.      │  application program.  We thought there was a problem with        │█
  3075.      │  4Print's handling of the "-[" option unti lwe realized that we   │█
  3076.      │  typed a single "&" in the font string, and this character was    │█
  3077.      │  "stripped" by CED and thus never sent to 4Print.                 │█
  3078.      │                                                                   │█
  3079.      │  A quick way of finding out if the string you are typing will be  │█
  3080.      │  sent properly to 4Print is to type "echo xxx" (where xxx is      │█
  3081.      │  your string) at the DOS command line.  If xxx appears the way    │█
  3082.      │  you typed it, then it's being sent properly to 4Print.           │█
  3083.      │                                                                   │█
  3084.      └───────────────────────────────────────────────────────────────────┘█
  3085.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  3086.  
  3087.      ──────────────────────────────────────────────────────────────────────
  3088.      Carriage Returns (Imported Files): The -C Switch
  3089.  
  3090.      Some files, notably those imported from Apple II or Macintosh systems,
  3091.      only use a carriage return (as opposed to a carriage return, line feed
  3092.      combination) to denote a new line in a file.  These files may be
  3093.      4Printed with the "-c" switch:
  3094.  
  3095.         C>4print myfile -c
  3096.  
  3097.           The file will be printed assuming a new line starts at every
  3098.           carriage return or line feed.
  3099.  
  3100.      Note that no overprint lines are generated when "-c" is specified,
  3101.      because these lines are denoted in MS-DOS files by a carriage return
  3102.      without an associated line feed.  However, backspace processing is
  3103.      still active, so if the foreign file uses backspaces to denote over-
  3104.      printing, then 4Print will accurately display overprinted, boldfaced,
  3105.      and underlined characters.
  3106.  
  3107.      ┌───────────────────────────────────────────────────────────────────┐
  3108.      │  Tip: You can apply the "-c" switch to MS-DOS files in order to   │█
  3109.      │  see exactly which lines are meant to be overprinted, and the     │█
  3110.      │  contents of the overprint lines.  The result will be that each   │█
  3111.      │  normal line in the file (that is, those lines ending in car-     │█
  3112.      │  riage return, line feed) will be followed by a blank line, and   │█
  3113.      │  a series of lines to be overprinted (that is, one or more lines  │█
  3114.      │  ending with a carriage return, followed by a line ending in a    │█
  3115.      │  carriage return, line feed) will be printed on a group of sin-   │█
  3116.      │  gle lines, with a blank line to end the group.                   │█
  3117.      │                                                                   │█
  3118.      └───────────────────────────────────────────────────────────────────┘█
  3119.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  3120.  
  3121.      ──────────────────────────────────────────────────────────────────────
  3122.      Chapter Six: Fonts and Control Codes                                49
  3123.  
  3124.  
  3125.      ──────────────────────────────────────────────────────────────────────
  3126.      Escape Code Processing: The -E Switch
  3127.  
  3128.      If you print a document containing escape characters (ASCII character
  3129.      27, or Hex 1B), the escapes and subsequent characters might be inter-
  3130.      preted by the LaserJet in such a way as to interfere with 4Print's
  3131.      formatting of your document.  Accordingly, 4Print substitutes a "left
  3132.      arrowhead" (character 17, or Hex 11) for each escape character it
  3133.      finds.
  3134.  
  3135.      If you wish to override this substitution and send escape characters
  3136.      directly to your printer (to switch fonts in mid-printout, for exam-
  3137.      ple), you must specify the "-e" switch as follows:
  3138.  
  3139.         C>4print myfile -e
  3140.  
  3141.           The file will be printed with escape characters sent directly to
  3142.           the LaserJet.
  3143.  
  3144.  
  3145.      ──────────────────────────────────────────────────────────────────────
  3146.      Mainframe Carriage Control: The -MF Switch
  3147.  
  3148.      If you're 4Printing documents originally created on an IBM mainframe,
  3149.      it's possible that the documents contain printer carriage control
  3150.      characters (sometimes called "Fortran-style control characters")
  3151.      instead of text in column one.  You can tell 4Print to interpret these
  3152.      characters correctly like this:
  3153.  
  3154.         C>4print myfile -mf
  3155.  
  3156.           Column one of the document will be considered to contain carriage
  3157.           control characters.
  3158.  
  3159.      4Print interprets the following carriage control characters:
  3160.  
  3161.           ┌───────────────────────────────────────────────────────┐
  3162.           │ Character Description                                 │
  3163.           │───────────────────────────────────────────────────────│
  3164.           │ 1         Go to the top of the next page              │
  3165.           │ space     Skip one line down, then print              │
  3166.           │ 0         Skip two lines down, then print             │
  3167.           │ -         Skip three lines down, then print           │
  3168.           │ +         Skip no lines - overprint the previous line │
  3169.           │           with the rest of this line.                 │
  3170.           └───────────────────────────────────────────────────────┘
  3171.  
  3172.  
  3173.      Any carriage control character not listed above is treated like a
  3174.      space.
  3175.  
  3176.  
  3177.  
  3178.  
  3179.      ──────────────────────────────────────────────────────────────────────
  3180.      50                                                 4Print User's Guide
  3181.  
  3182.  
  3183.      ──────────────────────────────────────────────────────────────────────
  3184.      Proportional Font Support: The -PR Switch
  3185.  
  3186.      4Print offers limited support to create printouts using small propor-
  3187.      tional fonts.  Files which are printed using proportional fonts must
  3188.      not contain any lines which will overflow 4Print's column width.  The
  3189.      width is normally 80 line printer font characters, or 4.8 inches.  If
  3190.      "-1" is used (see Chapter Four), the width is extended to 165 charac-
  3191.      ters, or 9.9 inches.  This includes any space inserted at the begin-
  3192.      ning of the line by the "-i" or the "-ri" options.
  3193.  
  3194.      Within this limitation, small proportional fonts are aligned properly
  3195.      (vertically and for the second column margin), and can create a very
  3196.      attractive 4Print printout.  Here is an example using proportional
  3197.      fonts:
  3198.  
  3199.         C>4print myfile -#5 -pr
  3200.  
  3201.           The file will be printed using downloaded soft font number five. 
  3202.           In addition, 4Print is informed that this is a proportional font.
  3203.  
  3204.  
  3205.      ┌───────────────────────────────────────────────────────────────────┐
  3206.      │  Tip: It is possible to mix fonts in a 4Printed file if you are   │█
  3207.      │  willing to perform your own line spacing.  Any escape strings    │█
  3208.      │  you include in the file will be sent by 4Print to the printer    │█
  3209.      │  just as if they were text characters, as long as you specify     │█
  3210.      │  the "-e" switch.  If you also specify "-pr", 4Print will not     │█
  3211.      │  care how long the "lines" are (including escape sequences), and  │█
  3212.      │  thus you can switch fonts in mid-file with no ill effect.        │█
  3213.      │                                                                   │█
  3214.      │  If you use this technique, be aware that 4Print will switch to   │█
  3215.      │  the default line printer font (or to the one you specified with  │█
  3216.      │  with "-#" or "-[" option) at the beginning of each column.       │█
  3217.      │  Also, 4Print performs indenting (the "-i" and "-ri" options) by  │█
  3218.      │  inserting the number of spaces you specify at the beginning of   │█
  3219.      │  each printed line.  So if you use indenting, you should keep     │█
  3220.      │  the indentation consistent by making sure each line ENDS in a    │█
  3221.      │  known font (so 4Print's spaces for the NEXT line will come out   │█
  3222.      │  in the known font).                                              │█
  3223.      │                                                                   │█
  3224.      └───────────────────────────────────────────────────────────────────┘█
  3225.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  3226.  
  3227.  
  3228.      ──────────────────────────────────────────────────────────────────────
  3229.      Using a Squashed Font: The -SQ Switch
  3230.  
  3231.      You can fit a few more characters on each line by telling 4Print to
  3232.      "squash" a font horizontally.  This causes each character to be
  3233.      printed very slightly closer to the next character than would be the
  3234.      normal case.  The tables given in Chapter Four show how many more
  3235.  
  3236.  
  3237.      ──────────────────────────────────────────────────────────────────────
  3238.      Chapter Six: Fonts and Control Codes                                51
  3239.  
  3240.  
  3241.      characters appear in each column when you squash a normal or tiny
  3242.      font.
  3243.  
  3244.      There are two special cases worth mentioning.  When you print docu-
  3245.      ments or program listings with line numbering (see the "-n" option in
  3246.      Chapter Four), 4Print inserts six extra characters (the line number
  3247.      and a space) at the beginning of each line.  This causes 80-character
  3248.      lines to be wrapped.  You can print the line number and an entire
  3249.      80-character line like this:
  3250.  
  3251.         C>4print myfile -n -sq
  3252.  
  3253.           The file will be printed in a squashed font, allowing 86 charac-
  3254.           ters to appear on each line.
  3255.  
  3256.      Version 3 of 4Print allowed you to get a maximum of 230 characters on
  3257.      a line (using the "-tiny" and "-wide" options).  To handle the widest
  3258.      Lotus 1-2-3 spreadsheet (240 characters), you can now squash the tiny
  3259.      font to get twelve more characters on a line.  Note that the "-wide"
  3260.      option has been replaced by "-1" (although "-wide" is still accepted
  3261.      by the program):
  3262.  
  3263.         C>4print myfile -1 -tiny -sq
  3264.  
  3265.           The file will be printed across the entire landscape page in a
  3266.           squashed tiny font, allowing 242 characters on each line.
  3267.  
  3268.      If you use squashed fonts often, you might want to use the shareware
  3269.      soft fonts provided with this product.  These fonts are specially
  3270.      sized to look their best with either normal or squashed printing. 
  3271.      Please don't forget to register these fonts with Elfring Soft Fonts if
  3272.      you use them regularly.  See the file REGFONTS.DOC for details.
  3273.  
  3274.  
  3275.      ──────────────────────────────────────────────────────────────────────
  3276.      Non-standard Tabs: The -TAB Option
  3277.  
  3278.      4Print normally assumes that if a document contains tab characters (as
  3279.      opposed to blank spaces to separate columns), that the document was
  3280.      created assuming tab columns are eight characters apart.  You may
  3281.      change this assumption in the following manner:
  3282.  
  3283.         C>4print myfile -tab3
  3284.  
  3285.           The file will be printed assuming tabs refer to columns which are
  3286.           three character positions apart.
  3287.  
  3288.      This option is especially useful when printing program source files
  3289.      which use non-standard tab sizes.
  3290.  
  3291.  
  3292.  
  3293.  
  3294.  
  3295.      ──────────────────────────────────────────────────────────────────────
  3296.      52                                                 4Print User's Guide
  3297.  
  3298.  
  3299.      ──────────────────────────────────────────────────────────────────────
  3300.      Downloaded Tiny Fonts: The -T# Option
  3301.  
  3302.      When you specify the "-tiny" option, 4Print normally downloads a very
  3303.      small landscape font which is actually part of the program file. 
  3304.      (This font has been improved for version 4.0, by the way.) If you
  3305.      specify "-t#" followed by a number, 4Print will not download the
  3306.      internal font, but will instead assume that a very small landscape
  3307.      font has previously been downloaded and made permanent.  For example:
  3308.  
  3309.         C>4print myfile -tiny -t#5
  3310.  
  3311.           The document is printed using the same characteristics as would
  3312.           be used for 4Print's internal tiny font, but instead of using the
  3313.           internal font, permanent font number 5 is selected.
  3314.  
  3315.      Note that the "-t#" option will have no effect unless it is used in
  3316.      conjunction with the "-tiny" option.  Thus, you can put "set
  3317.      4print=-t#nnn" (with other options if desired) in your system startup,
  3318.      and the specified font will only be selected for 4Print runs where
  3319.      "-tiny" is supplied on the command line.
  3320.  
  3321.  
  3322.      ──────────────────────────────────────────────────────────────────────
  3323.      Full Tiny Font Selection: The -T[ Option
  3324.  
  3325.      If you have a suitable tiny font available on a cartridge (see the
  3326.      discussion of the "-t#" option above), you can select it using its
  3327.      full characteristics with this option:
  3328.  
  3329.         C>4print myfile -tiny -t[(0U[(sp16.66h6.0vsb6T
  3330.  
  3331.           The document is printed using the same characteristics the
  3332.           internal tiny font, but instead of downloading the internal font,
  3333.           a font with the specified characteristics is selected.
  3334.  
  3335.      See the discussion of the "-[" option above for more information on
  3336.      specifying the font selection string.  Note also that you must specify
  3337.      "-tiny" for this option to have an effect, as indicated in the discus-
  3338.      sion of the "-t#" option.
  3339.  
  3340.  
  3341.      ──────────────────────────────────────────────────────────────────────
  3342.      Using the Internal Tiny Font: The -TINY Option
  3343.  
  3344.      In addition to the single column capability discussed above, 4Print
  3345.      includes a very small font which enables double column printing with
  3346.      110 characters in each column, or single column ("-1") printing with
  3347.      230 characters across the page.  (Even more characters across can be
  3348.      printed by combining the "-tiny" with the "-sq" option.) This font is
  3349.      internal to the 4Print program, and will be automatically downloaded
  3350.      to the printer (which must recognize HP LaserJet format soft fonts)
  3351.      when the "-tiny" option is specified.
  3352.  
  3353.      ──────────────────────────────────────────────────────────────────────
  3354.      Chapter Six: Fonts and Control Codes                                53
  3355.  
  3356.  
  3357.      The internal font is quite legible and adequate for most purposes such
  3358.      as printing wide spreadsheets, program listings, and database reports,
  3359.      but it does not include the IBM graphics characters.  (If you need IBM
  3360.      graphics characters, use one of the shareware soft fonts provided with
  3361.      the 4Print distribution disk or archive.)
  3362.  
  3363.      Here's all you need to do to use the internal tiny font:
  3364.  
  3365.         C>4print myfile -tiny
  3366.  
  3367.           The file will be printed in two columns of 110 characters across,
  3368.           using the internal tiny font.
  3369.  
  3370.         C>4print myfile -1 -tiny
  3371.  
  3372.           The file will be printed in a single column of 230 characters
  3373.           across, using the internal tiny font.
  3374.  
  3375.      ┌───────────────────────────────────────────────────────────────────┐
  3376.      │  Wide Tip: This latter example is especially suitable for print-  │█
  3377.      │  ing very wide spreadsheets which have been "printed" to an       │█
  3378.      │  ASCII file by Lotus 1-2-3 or whatever spreadsheet program you    │█
  3379.      │  are using.  You can also print very wide dBASE or other database │█
  3380.      │  program reports using the "-tiny" and/or "-1" options.           │█
  3381.      │                                                                   │█
  3382.      └───────────────────────────────────────────────────────────────────┘█
  3383.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  3384.  
  3385.      In rare cases, you may need to specify additional information when
  3386.      using the "-tiny" option.  4Print needs to specify a "font ID number"
  3387.      when downloading the internal tiny font.  This number is 999 by
  3388.      default.  If 999 happens to be already used for a permanent font on
  3389.      your printer, you may specify a different ID for 4Print's use as
  3390.      follows:
  3391.  
  3392.         C>4print myfile -tiny57
  3393.  
  3394.           The file will be printed using the internal tiny font, and 4Print
  3395.           will use "57" as a temporary font ID number.
  3396.  
  3397.      ┌───────────────────────────────────────────────────────────────────┐
  3398.      │  Very Wide Tip: If the "-tiny" option doesn't seem to be working  │█
  3399.      │  properly, it is possible that you have overloaded your prin-     │█
  3400.      │  ter's available memory (with other soft fonts, templates, or     │█
  3401.      │  graphics) and there is no room to hold the 4Print font (4Print   │█
  3402.      │  has no way of detecting this situation).  You can resolve the    │█
  3403.      │  problem by freeing up some of your printer's memory (don't       │█
  3404.      │  download so many permanent fonts, for instance), or by purchas-  │█
  3405.      │  ing a memory upgrade for your printer.                           │█
  3406.      │                                                                   │█
  3407.      └───────────────────────────────────────────────────────────────────┘█
  3408.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  3409.  
  3410.  
  3411.      ──────────────────────────────────────────────────────────────────────
  3412.      54                                                 4Print User's Guide
  3413.  
  3414.  
  3415.      ┌───────────────────────────────────────────────────────────────────┐
  3416.      │  Widest Tip: If you specify the "-pr" switch (discussed above),   │█
  3417.      │  4Print will completely ignore line length and assume each line   │█
  3418.      │  will fit across the wide column.  This means that you can print  │█
  3419.      │  spreadsheets even wider than 230 characters (or 242 characters   │█
  3420.      │  with "-tiny -sq") without wrapping or truncation by allowing     │█
  3421.      │  4Print to run past its right margin.  For example:               │█
  3422.      │                                                                   │█
  3423.      │     C>4print myfile -1 -tiny -pr -f=                              │█
  3424.      │                                                                   │█
  3425.      │       The file will be printed in a single column using the tiny  │█
  3426.      │       internal font.  Line lengths will be ignored.  The "-f="    │█
  3427.      │       specifies a frame with lines only on the top and bottom     │█
  3428.      │       (so you don't print over the right frame line).             │█
  3429.      │                                                                   │█
  3430.      └───────────────────────────────────────────────────────────────────┘█
  3431.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  3432.  
  3433.  
  3434.      ──────────────────────────────────────────────────────────────────────
  3435.      WordStar (tm) Files: The -W Switch
  3436.  
  3437.      You can get quick draft printouts of files created with WordStar
  3438.      version 3 and below or WordStar Professional Release 4 and later by
  3439.      using the "-w" switch:
  3440.  
  3441.         C>4print myfile -w
  3442.  
  3443.           The file is assumed to be in WordStar format, and is printed
  3444.           accordingly.
  3445.  
  3446.      WordStar files are printed by stripping the high order bit of every
  3447.      character in the file and removing control characters (except for the
  3448.      ending Control-Z).  Note that this means that all formatting informa-
  3449.      tion (such as headers, boldface, and underlines) are suppressed in the
  3450.      printout.
  3451.  
  3452.      WordStar dot commands are printed as is, except for the .PA command,
  3453.      which is processed as if a form feed appeared in the file.
  3454.  
  3455.      Note that the "-w" switch is provided for draft printouts or for very
  3456.      simple lists created using WordStar.  If you want full formatting for
  3457.      a WordStar file, you can use the following technique:
  3458.  
  3459.        1. Tell Wordstar to print your file to disk, using a standard ASCII
  3460.           printer.  For WordStar Professional Release 4, this would involve
  3461.           answering something like "draft>myfile.prn" to the "Name of
  3462.           printer?" prompt.
  3463.  
  3464.        2. Tell 4Print to print the output file, as in "4print myfile.prn". 
  3465.           Note that the "-w" switch is not specified to 4Print, since the
  3466.           output file is a straight ASCII file.
  3467.  
  3468.  
  3469.      ──────────────────────────────────────────────────────────────────────
  3470.      Chapter Six: Fonts and Control Codes                                55
  3471.  
  3472.  
  3473.      ──────────────────────────────────────────────────────────────────────
  3474.      Bypassing End Of File Characters: The -Z Switch
  3475.  
  3476.      If a file contains a Ctrl-Z character (Hex 1A, or Decimal 26), 4Print
  3477.      considers the file to end just before this character.  This is because
  3478.      Ctrl-Z was used in the CP/M operating system to indicate EOF (end-of-
  3479.      file), and many MS-DOS programs still manipulate files using this
  3480.      convention.
  3481.  
  3482.      Most ASCII files won't contain Ctrl-Z characters which mean anything
  3483.      other than EOF, but for those few pesky ones which do, specify "-z":
  3484.  
  3485.         C>4print myfile -z
  3486.  
  3487.           The file will be printed to its full MS-DOS file length.  Any
  3488.           Ctrl-Z characters appearing in the file will be printed as
  3489.           "<1A>".
  3490.  
  3491.      If 4Print seems to be printing only part of your file, try using the
  3492.      "-z" switch; it almost certainly won't hurt (although you may see some
  3493.      garbage at the end of your printout), and it might get your whole file
  3494.      printed.
  3495.  
  3496.  
  3497.  
  3498.  
  3499.  
  3500.  
  3501.  
  3502.  
  3503.  
  3504.  
  3505.  
  3506.  
  3507.  
  3508.  
  3509.  
  3510.  
  3511.  
  3512.  
  3513.  
  3514.  
  3515.  
  3516.  
  3517.  
  3518.  
  3519.  
  3520.  
  3521.  
  3522.  
  3523.  
  3524.  
  3525.  
  3526.  
  3527.      ──────────────────────────────────────────────────────────────────────
  3528.      56                                                 4Print User's Guide
  3529.  
  3530.  
  3531.  
  3532.  
  3533.  
  3534.  
  3535.  
  3536.  
  3537.  
  3538.  
  3539.  
  3540.  
  3541.      Chapter Seven
  3542.      ──────────────────────────────────────────────────────────────────────
  3543.      4Print Applications
  3544.  
  3545.      4Print was originally designed to print source code listings for
  3546.      programmers. It's come a long way since then. People have adapted it
  3547.      to all sorts of applications, and we have responded by adding more and
  3548.      more options to make the program as flexible and useful as it can be.
  3549.  
  3550.      4Print is used to print drafts of written documents, the wide reports
  3551.      generated by spreadsheets and database programs, transcripts of
  3552.      electronic communications, the on-disk documentation provided with
  3553.      both shareware and retail software, in-house manuals, catalog list-
  3554.      ings...and, of course, source code listings.
  3555.  
  3556.      This chapter provides various instructions and ideas for using 4Print
  3557.      with your applications. For complete information about the various
  3558.      features discussed, please refer to the corresponding sections in
  3559.      Chapters Four, Five, and Six in this manual.
  3560.  
  3561.      ──────────────────────────────────────────────────────────────────────
  3562.      4Print for Programmers
  3563.  
  3564.      A number of 4PRINT's features are of special interest to programmers. 
  3565.  
  3566.      4Print prints a line number before each line of a program listing when
  3567.      the "-n" option is specified. This option extends the line length by
  3568.      six characters, which may cause lines in your program to be split into
  3569.      two print lines. If you use the "-sq" ("squash") option, 4Print will
  3570.      fit 86 characters in its normal font, 2-column format. This is perfect
  3571.      for 80-character-wide, line numbered listings.
  3572.  
  3573.      Normally, 4Print will split a long line by printing as much as will
  3574.      fit on a line, starting the next print line with "=>", and then
  3575.      continuing (for as many print lines as necessary). You can tell 4Print
  3576.      to truncate (chop off) long lines instead with the "-t" option. More
  3577.      interestingly, 4Print provides a "-wp" option ("programmer's wrap")
  3578.      which prints as many "words" as possible on one line, and then contin-
  3579.      ues on the next line, indenting to the position of the first non-blank
  3580.      character on the original line plus four spaces. This type of word
  3581.      wrapping is most appropriate for free form programming languages such
  3582.      as C and Pascal.
  3583.  
  3584.  
  3585.      ──────────────────────────────────────────────────────────────────────
  3586.      Chapter Seven: 4Print Applications                                  57
  3587.  
  3588.  
  3589.      If you program in Microsoft Assembler, you probably know that your
  3590.      assembly listings start with a blank page. Starting with Version 4.0,
  3591.      4Print will eliminate this blank page automatically. If you want to
  3592.      keep the blank page, you can use the "-bp" switch.
  3593.  
  3594.      If you have a duplex printer such as a IID or IIID, and you don't want
  3595.      to put your program listings in a binder, you might want to use the
  3596.      short binding option "-ds". This option allows you to spread your
  3597.      pages out from side to side rather than from top to bottom. Try a
  3598.      short printout with "-ds" to see the difference.
  3599.  
  3600.      4Print has special handling for program output which uses mainframe
  3601.      ("Fortran-style") carriage control conventions. If you specify "-mf",
  3602.      4Print will consider the first character of each line of the file to
  3603.      be a mainframe carriage control character, and will respond appropri-
  3604.      ately.
  3605.  
  3606.      We've found that programmers have a tendency to use the "-q" parameter
  3607.      to eliminate 4Print's scan pass. In versions previous to 4.0, the only
  3608.      consequence was that the "Page n of nn" in the header was changed to
  3609.      just "Page n" because 4Print didn't pre-scan the document to determine
  3610.      how many pages it was about to print. Version 4.0 does more in the
  3611.      scan pass, however, collecting information necessary to center the
  3612.      document both horizontally and vertically (if the "-cen" or "-doc"
  3613.      options are specified). It's still okay to use "-q" to get quicker
  3614.      output, but be aware that when you do, you're suppressing any center-
  3615.      ing which you may have asked 4Print to perform.
  3616.  
  3617.      4Print will normally handle tab characters (ASCII value 9) correctly
  3618.      in all documents. However, if your program editor is set up for a tab
  3619.      size of other than the DOS-standard 8 spaces per tab, and if the
  3620.      editor leaves the tab characters in when it writes out your program,
  3621.      you should use 4Print's "-tab" option to make things line up properly.
  3622.      For example, if your editor is set up for four spaces per tab, you'd
  3623.      specify "-tab4" as one of your 4Print options.
  3624.  
  3625.      If you use form feeds in your programs (for example, to start each
  3626.      function on a new page), you might want to use "-xf" for some list-
  3627.      ings. This will cause 4Print to print a line of underscores plus a
  3628.      blank line whenever there's a form feed in the document. In addition,
  3629.      you might want to use "-xb" to condense multiple blank lines into a
  3630.      single blank line. Of course, you can use "-max" to print the most
  3631.      information possible in three-column format. (When you use "-max",
  3632.      both "-xb" and "-xf" are assumed.)
  3633.  
  3634.      Programmers will also be interested in the 4Fold utility (in the
  3635.      registered version only) which prints short source and header files
  3636.      one per column rather than one per sheet of paper.
  3637.  
  3638.  
  3639.  
  3640.  
  3641.  
  3642.  
  3643.      ──────────────────────────────────────────────────────────────────────
  3644.      58                                                 4Print User's Guide
  3645.  
  3646.  
  3647.      ──────────────────────────────────────────────────────────────────────
  3648.      4Print for Database Users
  3649.  
  3650.      If you regularly print reports from databases, certain of 4Print's
  3651.      options will be of great interest to you.  For full information about
  3652.      the features discussed here, please refer to the corresponding sec-
  3653.      tions of this manual.
  3654.  
  3655.      4Print prints ASCII text files, not database files.  Therefore, you
  3656.      must print your database records to a file before using 4Print to
  3657.      print them onto paper.  The method for printing database records to a
  3658.      text file depends upon the database program you use.  Because there
  3659.      are so many database management programs on the market, it's impossi-
  3660.      ble for us to describe the proper procedure for all of them.  We'll
  3661.      cover a few of the most popular programs: dBASE, FoxBASE+, FoxPro and
  3662.      Paradox.
  3663.  
  3664.      dBASE IV and FoxPro: To create an ASCII text file from within dBASE IV
  3665.      or FoxPro, all you have to do is append the phrase "TO FILE" plus the
  3666.      name of the output file to any command which displays records or a
  3667.      report on the screen.  For example:
  3668.  
  3669.           .list all off to file output.txt
  3670.  
  3671.      from the dot prompt of dBASE IV or the command window of FoxPro will
  3672.      display all records in the currently selected database on the screen
  3673.      ("off" suppresses the display of record numbers), and also write them
  3674.      out to a file named OUTPUT.TXT.  
  3675.  
  3676.      Similarly, typing:
  3677.  
  3678.           .report form budget to file output.txt
  3679.  
  3680.      will create a text file named OUTPUT.TXT containing a report formatted
  3681.      according to the specifications of report form BUDGET.
  3682.  
  3683.      If you use dBASE IV's Command Center to print reports, select "Desti-
  3684.      nation" from the Print menu, specify "Write to: DOS FILE" and "Printer
  3685.      model: ASCII TEXT", and select an existing text file or type in a new
  3686.      one.
  3687.  
  3688.      If you use FoxPro's pull-down menus to print reports, simply check "To
  3689.      File" on the Report dialog box, then select an existing text file or
  3690.      type in a new file name.
  3691.  
  3692.      FoxBASE+: In FoxBASE+, you have to do a little more work.  Before
  3693.      entering the "list" or "report form" commands, you have to redirect
  3694.      the output which would normally go to the printer to a file, by typing
  3695.      the following commands at the dot prompt:
  3696.  
  3697.           .set device to print
  3698.           .set print on
  3699.           .set printer to output.txt
  3700.  
  3701.      ──────────────────────────────────────────────────────────────────────
  3702.      Chapter Seven: 4Print Applications                                  59
  3703.  
  3704.  
  3705.      Now enter the "list" or "report form" command, but without the "TO
  3706.      FILE..." clause.  Use the following commands to close the output file
  3707.      and redirect output to the screen.
  3708.  
  3709.           .set printer to
  3710.           .set print off
  3711.           .set device to screen
  3712.  
  3713.      dBASE III+: Unfortunately, dBASE III+ has very limited support for
  3714.      output redirection, which is accomplished using the "set alternate"
  3715.      command, like this:
  3716.  
  3717.           .set alternate to output.txt
  3718.           .set alternate on
  3719.           .<output command>
  3720.           .close alternate
  3721.  
  3722.      This command saves all screen output to the file OUTPUT.TXT.  However,
  3723.      that includes the commands that you type at the dot prompt, which you
  3724.      probably don't want to see on your reports.  If you have a text edit-
  3725.      or, you could load the text file into it and delete the extraneous
  3726.      lines.
  3727.  
  3728.      Paradox: In Paradox 3.0, select "Report" from the main menu.  From the
  3729.      Report menu, select "Output", then "File", then type the name of the
  3730.      desired output file.  Now just print your report as you normally
  3731.      would.
  3732.  
  3733.      4Print Options: Now that we have a file that 4Print can read, we'll
  3734.      discuss the options you can use to create different report formats.  
  3735.  
  3736.      In its default mode, 4Print prints 80 characters per line in two col-
  3737.      umns across the page.  However, 4Print has several options which allow
  3738.      you to fit more characters on each line, and more lines on each page. 
  3739.      Using these options, you can print 1-4 columns across the page, and
  3740.      all the way up to 242 characters per line (using the squashed tiny
  3741.      font in one wide column).  
  3742.  
  3743.      The number of columns on the page is controlled by the "-<number>"
  3744.      option, where <number> is a number between 1 and 4.
  3745.  
  3746.      You can squeeze a few more characters onto each line by using the "-
  3747.      sq" (squash) option.  This closes up the spaces between the characters
  3748.      and allows you to print more data without using a smaller font.  If
  3749.      you do need to fit many more characters onto each line, you can use
  3750.      the "-tiny" option, which will print your report using a very readable
  3751.      tiny font.  The tables on this page show the maximum number of charac-
  3752.      ters which can be printed using all combinations of "characters per
  3753.      column" options.
  3754.  
  3755.  
  3756.  
  3757.  
  3758.  
  3759.      ──────────────────────────────────────────────────────────────────────
  3760.      60                                                 4Print User's Guide
  3761.  
  3762.  
  3763.                 ┌──────────────────────────────────────────────┐
  3764.                 │Columns  Normal  Squashed  Tiny  Tiny/Squashed│
  3765.                 │──────────────────────────────────────────────│
  3766.                 │   1      165      177      230      242      │
  3767.                 │   2       80       86      110      116      │
  3768.                 │   3       55       59       76       80      │
  3769.                 │   4       40       43       55       58      │
  3770.                 └──────────────────────────────────────────────┘
  3771.                       Maximum # characters/line in each layout
  3772.  
  3773.  
  3774.      For most wide reports, a combination      ┌──────────────────────────┐
  3775.      of "-1" and "-tiny" will be appropri-     │Characters     4Print     │
  3776.      ate, providing a single column of to      │ Across       Options     │
  3777.      230 characters per line.  If you need     ├──────────────────────────┤
  3778.      that last little bit extra, "-1 -ti-      │   40    -4               │
  3779.      ny -sq" will print 242 characters         │   43    -4           -sq │
  3780.      across the page.  The "-3" and "-4"       │   55    -3               │
  3781.      options are great for printing mailing    │   55    -4   -tiny       │
  3782.      lists and other narrow columnar re-       │   58    -4   -tiny   -sq │
  3783.      ports.  You can also specify the num-     │   59    -3           -sq │
  3784.      ber of lines per page by using the        │   76    -3   -tiny       │
  3785.      "-LPP<number>" option, where <number>     │   80    -2               │
  3786.      is the number of lines.                   │   80    -3   -tiny   -sq │
  3787.                                                │   86    -2           -sq │
  3788.      The "-fmt" option provides you with       │  110    -2   -tiny       │
  3789.      additional control over your report by    │  116    -2   -tiny   -sq │
  3790.      allowing you to specify one or more       │  165    -1               │
  3791.      ranges of columns to be printed.  You     │  177    -1           -sq │
  3792.      can use it to change the order of         │  230    -1   -tiny       │
  3793.      different fields in the report, or to     │  242    -1   -tiny   -sq │
  3794.      omit some fields entirely.  And final-    └──────────────────────────┘
  3795.      ly, you can use the "-cen" option to       4Print options to specify
  3796.      center the report on the page.  This       for # of characters across
  3797.      can greatly improve the appearance of
  3798.      a database report that's just wide
  3799.      enough to require either or both the
  3800.      tiny font and one column per side.
  3801.  
  3802.  
  3803.      ──────────────────────────────────────────────────────────────────────
  3804.      4Print for Spreadsheet Users
  3805.  
  3806.      If you regularly print reports from spreadsheets, certain of 4Print's
  3807.      options will be of great interest to you.  For full information about
  3808.      the features discussed here, please refer to the corresponding sec-
  3809.      tions of this manual.
  3810.  
  3811.      4Print prints ASCII text files, not spreadsheet files.  Therefore, you
  3812.      must print your spreadsheet to a file before using 4Print to print it
  3813.      onto paper.  The method for printing a spreadsheet to an ASCII text
  3814.      file is similar for most spreadsheet programs, but we'll outline the
  3815.      procedures for a few of the most popular programs.
  3816.  
  3817.      ──────────────────────────────────────────────────────────────────────
  3818.      Chapter Seven: 4Print Applications                                  61
  3819.  
  3820.  
  3821.      Lotus 1-2-3: In Lotus 1-2-3, you type "/pf" (slash, Print, File) or
  3822.      make the related selections from the menus, and then select an exist-
  3823.      ing text file or type the name of a new one.
  3824.  
  3825.      After specifying the file name and setting all the other options which
  3826.      you would when printing to the printer, just print the spreadsheet as
  3827.      you normally would.  You should now have an ASCII text file in the
  3828.      default directory.  Unless you specified the extension of the file, it
  3829.      should have an extension of .PRN (e.g. BUDGET.PRN).
  3830.  
  3831.      Quattro Pro: If you have configured Quattro Pro to emulate 1-2-3's
  3832.      menus, use the keystroke sequence described under Lotus 1-2-3 above.
  3833.  
  3834.      If you are using Quattro Pro's default menus (or are emulating those
  3835.      of Quattro 1.x), you type "/pdf" (slash, Print, Destination, File) or
  3836.      make the related selections from the menus, and then select an exist-
  3837.      ing text file or type the name of a new one.
  3838.  
  3839.      After specifying the file name and setting all the other options which
  3840.      you would when printing to the printer, just print the spreadsheet as
  3841.      you normally would.  You should now have an ASCII text file in the
  3842.      default directory.  Unless you specified the extension of the file, it
  3843.      should have an extension of .PRN (e.g. BUDGET.PRN).
  3844.  
  3845.      Microsoft Excel: In Microsoft Excel, select File and Save As...  from
  3846.      the menu, then choose the Text file format.  When you select "OK", the
  3847.      spreadsheet will be saved in ASCII format.
  3848.  
  3849.      Excel uses the tab character to separate the columns.  If there appear
  3850.      to be too many spaces between columns in the 4Print output, use
  3851.      4Print's "-tab" option to specify the number of spaces to print for
  3852.      each tab character.
  3853.  
  3854.      4Print Options: Now that we have a file that 4Print can read, we'll
  3855.      discuss the options you can use to create different report formats.
  3856.  
  3857.      In its default mode, 4Print prints 80 characters per line in two
  3858.      columns across the page.  However, 4Print has several options which
  3859.      allow you to fit more characters on each line, and more lines on each
  3860.      page.  Using these options, you can print 1-4 columns across the page,
  3861.      and all the way up to 242 characters per line (using the squashed tiny
  3862.      font in one wide column).  In other words, 4Print can print the full
  3863.      width of most spreadsheets across a single letter-size page!
  3864.  
  3865.      The number of columns on the page is controlled by the "-<number>"
  3866.      option, where <number> is a number between 1 and 4.
  3867.  
  3868.      You can squeeze a few more characters onto each line by using the "-
  3869.      sq" (squash) option.  This closes up the spaces between the charac-
  3870.      ters, and allows you to print more data without using a smaller font. 
  3871.      If you do need to fit many more characters onto each line, you can use
  3872.      the "-tiny" option, which will print your report using a very readable
  3873.      tiny font.  For a summary of the number of characters per line you can
  3874.  
  3875.      ──────────────────────────────────────────────────────────────────────
  3876.      62                                                 4Print User's Guide
  3877.  
  3878.  
  3879.      get using the various options, see the tables in the database section
  3880.      above.
  3881.  
  3882.      For most wide spreadsheets, a combination of "-1" and "-tiny" will be
  3883.      appropriate, providing a single column of up to 230 characters per
  3884.      line.  If you need to go right to the maximum range width of most
  3885.      spreadsheets, the combination of the "-1 -tiny -sq" options will print
  3886.      242 characters in a single column, using the squashed tiny font.  You
  3887.      can also specify the number of lines per page by using the
  3888.      "-LPP<number>" option, where <number> is the number of lines.
  3889.  
  3890.      The "-fmt" option provides you with additional control over your
  3891.      spreadsheet report by allowing you to specify one or more ranges of
  3892.      columns to be printed.  (As used here, "columns" refers to print
  3893.      columns, as in an "80 column" printer, as opposed to "column A" in
  3894.      your spreadsheet.)
  3895.  
  3896.      An example of a good use for the "-fmt" option is a financial projec-
  3897.      tion that shows an amount for each month of a fiscal quarter, and a
  3898.      total for each quarter.  You may want to print two reports, one which
  3899.      shows each of the months, with a total for the year, and another which
  3900.      shows just the quarterly totals columns.
  3901.  
  3902.      Instead of writing a spreadsheet macro to "hide" the unwanted columns,
  3903.      you could print the entire spreadsheet to a text file, and then use
  3904.      4Print's "-fmt" option to print only the desired information.  For
  3905.      example, if the description column is 25 characters wide, and each of
  3906.      the numeric columns is 12 characters wide, you could print only the
  3907.      description column and each of the quarterly total columns by specify-
  3908.      ing:
  3909.  
  3910.         C>4print budget.prn -fmt1-25,62-73,110-121,158-169,206-217
  3911.  
  3912.           Five columns of figures will be extracted from the report and
  3913.           printed; all unspecified columns will not be printed.
  3914.  
  3915.      You may also specify text characters as part of the line format.  To
  3916.      separate each range of columns with a vertical line, try:
  3917.  
  3918.         C>4print budget.prn -fmt1-25,"|",62-73,"|",110-121,"|",158-169,"|",
  3919.           206-217
  3920.            
  3921.           The same five columns of figures will be printed, separated by
  3922.           vertical lines.
  3923.  
  3924.      Finally, you can use the "-cen" option to center the report in the
  3925.      column (or page, if you've specified one column).  This can greatly
  3926.      improve the appearance of a spreadsheet that's just wide enough to
  3927.      require either or both the tiny font and one column per side.
  3928.  
  3929.  
  3930.  
  3931.  
  3932.  
  3933.      ──────────────────────────────────────────────────────────────────────
  3934.      Chapter Seven: 4Print Applications                                  63
  3935.  
  3936.  
  3937.      ──────────────────────────────────────────────────────────────────────
  3938.      4Print for Word Processor Users
  3939.  
  3940.      4Print is useful both for printing draft copies of word processing
  3941.      documents, which can then be edited while viewing four or more pages
  3942.      of information at a time, and for creating very attractive half-size
  3943.      (5½" x 8½") manuals for insertion into IBM-style binders (see below). 
  3944.      Each of these applications involves a different set of procedures.
  3945.  
  3946.      Note that 4Print does NOT directly print word processor document
  3947.      files.  These files contain program-specific codes for things like
  3948.      margin settings, font selections, graphics, etc.  In order to 4Print a
  3949.      word processor document, you must first use the word processor to
  3950.      generate a straight ASCII text file from the document; it is this text
  3951.      file which gets 4Printed.  If you're not sure if the document you want
  3952.      to print is a straight text file or not, you can usually tell by using
  3953.      the DOS "type" command to display the file.  If the stuff scrolling
  3954.      down the screen contains funny characters and generally looks like a
  3955.      mess, it's a word processor document and must be converted to straight
  3956.      text before it can be 4Printed.  The following DOS command will
  3957.      display the file on the screen:
  3958.  
  3959.           C>type myfile.doc
  3960.  
  3961.      There are two methods for generating text files from a word processor
  3962.      document: the first involves saving a copy of the document as an ASCII
  3963.      text file (some word processors call this "exporting"), and the other
  3964.      is to "print" the document to a disk file using a "standard" printer
  3965.      driver.  The method you use depends on what you have in mind for the
  3966.      printed document.  If you're only printing a draft of the text for
  3967.      editing purposes, and your document will ultimately be printed in
  3968.      heavily formatted form with font changes and what-have-you, you can
  3969.      just save an ASCII version of the file, by far the easier method.
  3970.  
  3971.      If, however, you are creating a document that will be distributed on
  3972.      disk (such as a shareware manual), or that will be 4Printed and
  3973.      inserted into an IBM-style binder, you'll generate the file to be
  3974.      printed by using your word processor's "print to disk" feature.  It is
  3975.      possible to create very attractive looking documents using nothing
  3976.      more than the IBM extended ASCII character set and your word proces-
  3977.      sor's ability to paginate and insert headers and footers.  In addi-
  3978.      tion, 4Print supports print enhancements like boldface and underlining
  3979.      as performed via overstriking; both the carriage-return-without-line-
  3980.      feed and backspace methods will work.
  3981.  
  3982.      Please note that there's a slight bit of non-standardization in the
  3983.      word processing world about just what comprises an ASCII text file. 
  3984.      In general, text files contain only the normal alphanumeric and
  3985.      punctuation characters, the extended ASCII graphics characters, and
  3986.      the codes for carriage returns, line feeds, and form feeds (ASCII
  3987.      values 13, 10, and 12).  However, when saving a document as a text
  3988.      file, some word processors put the carriage return/line feed charac-
  3989.  
  3990.  
  3991.      ──────────────────────────────────────────────────────────────────────
  3992.      64                                                 4Print User's Guide
  3993.  
  3994.  
  3995.      ters at the end of every *line*, while others put them only at the end
  3996.      of *paragraphs*.  
  3997.  
  3998.      The advantages of the former are that, assuming your margins are wide
  3999.      enough, you can view all the lines of the document on screen using the
  4000.      DOS "type" command, and you can print the document using 4Print with-
  4001.      out worrying about any special options.  The disadvantage is that if
  4002.      your margins are too narrow, you might have more text on each line
  4003.      than will fit in the 4Print column, and the excess characters will be
  4004.      shunted off to the next line.  
  4005.  
  4006.      If the carriage return/line feeds are stored only at the ends of para-
  4007.      graphs, your document might look slightly funny when you type it on
  4008.      the screen, but if you use one of 4Print's special word wrap options
  4009.      (see Chapter Four), the printout will come out perfect.
  4010.  
  4011.      The general concepts of saving a document in text format and printing
  4012.      to disk are applicable to most word processors.  The following sec-
  4013.      tions provide detailed information on how to perform these functions
  4014.      in one of the most popular word processors, WordPerfect.
  4015.  
  4016.      WordPerfect: To save a WordPerfect document as an unformatted text
  4017.      file, press <Ctrl-F5> ("Text In/Out"), "1" (or "T" for "DOS Text"),
  4018.      and "1" again (or "S" for "Save").  Then, at the "Document to be saved
  4019.      (DOS Text):" prompt, type in a file name (do NOT use the same name as
  4020.      the original document!) and press <Enter>.  If a file with this name
  4021.      already exists, WordPerfect will ask if you want to replace it. 
  4022.      Unless you are certain that you want to replace the existing file
  4023.      (such as if you're replacing a text file you generated earlier),
  4024.      answer "N" and type in a different name.
  4025.  
  4026.      The new file will contain all the text of the original document minus
  4027.      headers, footers, footnotes, text boxes, and other special structures. 
  4028.      All tabs, indents, and center codes will have been converted to
  4029.      spaces, and carriage return/line feed pairs will appear at the end of
  4030.      every line.  You can print this file using whatever 4Print options you
  4031.      normally use.  If you find your lines are a little longer than will
  4032.      fit on one line, you can use 4Print's "-sq" (squash) option to fit in
  4033.      a few more characters.
  4034.  
  4035.      The procedures for printing to disk are a bit more complicated.  First
  4036.      you'll have to create the appropriate printer driver.  Press <Shift-
  4037.      F7> to go into the "Print" menu, "S" (for "Select Printer"), "2" (or
  4038.      "A" for "Additional Printers"), and then move the highlight to "Stan-
  4039.      dard Printer" and press <Enter>.  (If "Standard Printer" doesn't show
  4040.      up on your list of additional printers, follow the instructions in
  4041.      your WordPerfect manual for installing a printer driver from the
  4042.      WordPerfect distribution disks.) The program will prompt you for a
  4043.      file name for the printer driver; press <Enter> to use the default, or
  4044.      type in a different name (we recommend "4PRINT.PRS").  The program
  4045.      will put up a blank screen labeled "Printer Helps and Hints"; press
  4046.      <F7> to exit the screen.  You'll now be at a screen labeled "Select
  4047.      Printer: Edit".  Press "2" (or "P" for "Port"), "8" (or "O" for
  4048.  
  4049.      ──────────────────────────────────────────────────────────────────────
  4050.      Chapter Seven: 4Print Applications                                  65
  4051.  
  4052.  
  4053.      "Other"), and then type in the file name that WordPerfect should print
  4054.      to (we recommend "4PRINT.PRN").  Press <Enter> to exit the edit menu,
  4055.      <Enter> again to select the new printer driver, and <Enter> a third
  4056.      time to exit the print menu.
  4057.  
  4058.      Now whenever you print a document created using the 4Print printer
  4059.      driver, instead of sending the file to the printer, WordPerfect will
  4060.      print to the 4PRINT.PRN disk file.  You can rename the file to some-
  4061.      thing more meaningful, if you like, and then, *finally*, print it
  4062.      using 4Print.  Documents created in this way can contain all sorts of
  4063.      formatting.  Specifically, you can set margins, indents, and justifi-
  4064.      cation; you can create headers, footers, footnotes and endnotes; you
  4065.      can use print enhancements like boldface, underlining, redline, and
  4066.      strikethrough; you can use the extended ASCII graphics characters to
  4067.      draw boxes, diagrams, and shadows.  When WordPerfect prints the docu-
  4068.      ment to disk, it will retain all formatting that can be supported by
  4069.      using spaces, blank lines, and overstriking.  You can create a per-
  4070.      fectly paginated, attractive and professional-looking document.
  4071.  
  4072.      4Print Options: Various 4Print options are meaningful to the word pro-
  4073.      cessor user.  If you're using 4Print to create manuals or other pagi-
  4074.      nated documentation, you can use the "-bp+" switch to insert a blank
  4075.      page at the beginning of the print out so that "facing pages" (even
  4076.      page number on the left, odd number on the right) come out facing each
  4077.      other.  If your document isn't indented, you can use the "-cen" op-
  4078.      tions to center it on the page, or the "-i" option to indent a specif-
  4079.      ic number of spaces.  The "-ww" switch is useful for printing text
  4080.      files that only have carriage return/line feeds at the ends of para-
  4081.      graphs (see above).  Be sure to browse through Chapter Four for other
  4082.      options that you might find useful.
  4083.  
  4084.  
  4085.      ──────────────────────────────────────────────────────────────────────
  4086.      Creating Documents for IBM-Style Binders
  4087.  
  4088.      4Print can also be used to create half-                center cut
  4089.      size (8½" x 5½") manuals that can be                       
  4090.      stored in IBM-style binders.  This sec-      ┬   ┌───────────────────┐
  4091.      tion discusses the various steps             │   │o        │o        │
  4092.      involved, from the appropriate 4Print        │   │         │         │
  4093.      options for printing the document to the         │         │         │
  4094.      physical steps of cutting the output        8½"  │o        │o        │
  4095.      down the center, hole punching it, and           │         │         │
  4096.      inserting it in the binder.                  │   │         │         │
  4097.                                                   │   │o        │o        │
  4098.      Printing an 80-column document.  Assum-      ┴   └───────────────────┘
  4099.      ing your document has 80 characters per
  4100.      line, you can print a manual using these         ├── 5½" ──┼── 5½" ──┤
  4101.      options:
  4102.                                                       ├─────── 11" ───────┤
  4103.  
  4104.  
  4105.  
  4106.  
  4107.      ──────────────────────────────────────────────────────────────────────
  4108.      66                                                 4Print User's Guide
  4109.  
  4110.  
  4111.         C>4print myfile -s -q -sq -ri6 -f! -h"Page $cn//Page $cn"
  4112.  
  4113.           The file will be printed single-sided, without a scan pass, using
  4114.           the squashed font option.  The frame will consist only of a
  4115.           center line (which we'll use as a cutting guide), and 4Print's
  4116.           column number will serve as a page number in the heading. 
  4117.           Finally, the right-hand column on the page will be indented in
  4118.           order to balance its left margin with the frame margin on the
  4119.           left-hand column.
  4120.  
  4121.      As with anything you do with 4Print, the preceding options are a
  4122.      starting guide and many can be changed to fit your printing needs. 
  4123.      Refer to the sections in Chapter Four pertaining to frames and head-
  4124.      ings for more detailed information.
  4125.  
  4126.      Printing without the squashed font option.  First make sure that the
  4127.      longest line of text in your ASCII document does not exceed 75 col-
  4128.      umns.  You can check this from within your word processor, or by using
  4129.      4Print's scan pass, stopping short of actually printing.  The 4Print
  4130.      command line to accomplish this is:
  4131.  
  4132.         C>4print myfile -i5
  4133.  
  4134.           4Print will check that the longest line in the document plus a
  4135.           five-character indent does not exceed 80 characters.  Be sure to
  4136.           press <Esc> to prevent 4Print from printing!
  4137.  
  4138.      If, after the scan pass, you see the message "n lines will be
  4139.      wrapped...", you'll know that your document contains lines longer than
  4140.      75 characters, and this option won't work for you.  If you don't see
  4141.      this message, then it's okay to proceed.  Press <Esc> to prevent
  4142.      4Print from printing, and then print the document using the following
  4143.      command line:
  4144.  
  4145.         C>4print myfile -s -q -f! -h"Page $cn//Page $cn" -ri5
  4146.       
  4147.           The file will be printed single-sided, without a scan pass, with
  4148.           a center line "cutting guide", using the column number as a page
  4149.           number in the heading, and with the right-hand column indented.
  4150.  
  4151.      Creating a Double Sided Manual: Reformat your document within your
  4152.      word processor so that the right margin is no more than 75 characters,
  4153.      and the page length is no more than 66 lines.  (Actually, the number
  4154.      of lines on the page can be increased using the "-LPP" option; see
  4155.      Chapter Four.) Copy and paste each page so a duplicate of page 1
  4156.      follows page 1, a duplicate of page 2 follows page 2, etc.  Then
  4157.      "print" the document to a disk file.  (See the section h came out of
  4158.      the printer first will be at the rear of the paper tray.  Print the
  4159.      rest of the document using these options:
  4160.  
  4161.  
  4162.  
  4163.  
  4164.  
  4165.      ──────────────────────────────────────────────────────────────────────
  4166.      Chapter Seven: 4Print Applications                                  67
  4167.  
  4168.  
  4169.         C>4print myfile -b -q -f! -h -ri5
  4170.  
  4171.           The reverse (even-numbered) pages will be printed with a center
  4172.           line "cutting guide" and a five-character right indent; the scan
  4173.           pass and page headers are skipped.
  4174.  
  4175.  
  4176.                ┌─────────────┐   ┌─────────────┐   ┌─────────────┐
  4177.                │      │      │   │      │      │   │      │      │
  4178.                │      │      │   │      │      │   │      │      │
  4179.                │ Pg 2 │ Pg 2 │   │ Pg 4 │ Pg 4 │   │ Pg 6 │ Pg 6 │
  4180.                │      │      │   │      │      │   │      │      │
  4181.                │      │      │   │      │      │   │      │      │
  4182.                └─────────────┘   └─────────────┘   └─────────────┘
  4183.                Then print all the even-numbered pages side-by-side
  4184.                               on the reverse side.
  4185.  
  4186.  
  4187.      Now all you have to do is cut the pages in half, and you'll have a
  4188.      stack of perfectly-collated manuals on the left, and another stack on
  4189.      the right.  Punch some holes, put them in the binders, and you're all
  4190.      set.
  4191.  
  4192.  
  4193.  
  4194.  
  4195.  
  4196.  
  4197.  
  4198.  
  4199.  
  4200.  
  4201.  
  4202.  
  4203.  
  4204.  
  4205.  
  4206.  
  4207.  
  4208.  
  4209.  
  4210.  
  4211.  
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.  
  4218.  
  4219.  
  4220.  
  4221.  
  4222.  
  4223.      ──────────────────────────────────────────────────────────────────────
  4224.      68                                                 4Print User's Guide
  4225.  
  4226.  
  4227.  
  4228.  
  4229.  
  4230.  
  4231.  
  4232.  
  4233.  
  4234.  
  4235.  
  4236.  
  4237.      Appendix A
  4238.      ──────────────────────────────────────────────────────────────────────
  4239.      Trouble-Shooting Guide
  4240.  
  4241.      As with most things in life, 4Print occasionally comes up with a
  4242.      problem.  The following is a list of common errors we've encountered
  4243.      from our users along with suggested solutions.
  4244.  
  4245.        Q: Why am I receiving a "Not ready error writing device..." message
  4246.           at the beginning of the print job?
  4247.  
  4248.        A: This is a DOS error message, not 4Print's.  By default, 4Print
  4249.           prints to DOS's standard printer port (PRN:).  If your printer is
  4250.           not receiving any data, first check that the printer is turned on
  4251.           and is on-line, and then check the cable.  If all seems function-
  4252.           al, it's possible that 4Print is printing to the wrong port.  By
  4253.           default, 4Print prints to DOS' standard printer port (PRN:).  You
  4254.           can redirect 4Print's output to a different device, such as LPT1,
  4255.           LPT2, COM1, etc., by using the "-o" option (that's the letter
  4256.           "o", not the number zero).  For example, to redirect output to
  4257.           LPT2, you would type "4print myfile -olpt2:".  For more informa-
  4258.           tion about using this option, see Chapter Five.
  4259.  
  4260.        Q: What if the same message occurs *during* a 4Print job?
  4261.  
  4262.        A: We have seen this happen when 4Print is used in conjunction with
  4263.           a print spooler.  To correct the situation, try turning off the
  4264.           spooler, removing the spooler, or make the spooler buffer larger.
  4265.  
  4266.        Q: What causes an error #207 to be reported by 4Print?
  4267.       
  4268.        A: Error #207 says that 4Print is trying to print to a read-only
  4269.           file.  The most likely cause is that the printer is off-line. 
  4270.           Other reasons may be that a printer sharing device is in use at
  4271.           the time of printing, or, if you're in a network environment,
  4272.           your printer redirection may be causing a conflict.  Check your
  4273.           printer and sharing device, or reboot to reset your network
  4274.           redirection.
  4275.  
  4276.  
  4277.  
  4278.  
  4279.  
  4280.  
  4281.      ──────────────────────────────────────────────────────────────────────
  4282.      Appendix A: Trouble-Shooting Guide                                  69
  4283.  
  4284.  
  4285.        Q: Why did 4Print report a fatal error #205 while scanning or
  4286.           printing?
  4287.  
  4288.        A: 4Print was designed to print straight ASCII text files only.  If
  4289.           you try printing a non-ASCII file (such as a word processing
  4290.           document), 4Print's internal buffers may overflow and cause this
  4291.           error to occur.  Another cause might be ASCII files that use
  4292.           carriage returns at the ends of lines instead of the PC-standard
  4293.           carriage return/line feed pair.  In this case, the "-c" switch,
  4294.           which translates lone carriage return characters to carriage
  4295.           return/line feeds could solve the problem; see Chapter Six for
  4296.           details.
  4297.  
  4298.        Q: Why didn't 4Print print my entire file?  
  4299.  
  4300.        A: Your program might contain an embedded Ctrl-Z character.  By
  4301.           default, 4Print assumes that such a character indicates end-of-
  4302.           file; you can use the "-z" switch to tell 4Print to continue past
  4303.           the Ctrl-Z.  
  4304.  
  4305.        Q: Why am I getting large black lines over my text?
  4306.  
  4307.        A: 4Print uses HP graphics commands to draw the frames around your
  4308.           text.  We have found that there are some "HP compatible" printers
  4309.           that do not recognize these codes.  You can experiment with the
  4310.           "-f<style>" option to find a frame style that will work with your
  4311.           printer, or you can specify "-fn" to omit the frame altogether. 
  4312.           For information about the many frame styles 4Print supports, see
  4313.           the "-f<style>" section in Chapter Four.
  4314.  
  4315.        Q: My output is fine except each line is followed by a line with a
  4316.           "=>" symbol and nothing else.  What's going on?
  4317.  
  4318.        A: When 4Print encounters a line of text that is longer than will
  4319.           fit in the column (normal 4Print's allow 80 characters across),
  4320.           it prints as many characters as will fit and then continues the
  4321.           text on the next line.  Each continued line starts with the "=>"
  4322.           symbol.  The fact that your continuation lines are blank (there
  4323.           are no characters following the "=>" symbol) indicates that the
  4324.           file you are printing must contain extra space characters at the
  4325.           end of each line.  You can truncate these extra space characters
  4326.           by using the "-t" option; see Chapter Four for additional infor-
  4327.           mation.
  4328.  
  4329.        Q: The same thing happens but I get a few characters after the "=>"
  4330.           symbol.  What can I do in this case?
  4331.  
  4332.        A: The lines of your document are longer than will fit in the 4Print
  4333.           column, and the excess characters are printed on continuation
  4334.           lines with the "=>" symbol.  There are several ways to deal with
  4335.           this: one option is to use the "-sq" switch to "squash" more
  4336.           characters onto the line.  4Print's standard 80 character line
  4337.           can accommodate 86 characters when squashed.  If squashing isn't
  4338.  
  4339.      ──────────────────────────────────────────────────────────────────────
  4340.      70                                                 4Print User's Guide
  4341.  
  4342.  
  4343.           adequate, you can try using the tiny font (which is quite small
  4344.           but still readable) to get 110 characters on the line, and you
  4345.           can even squash the tiny font to get 116 characters.  And if
  4346.           *this* doesn't do it for you, you can opt for a single wide
  4347.           column across the page.  See the "Number of Columns: The -1, -
  4348.           2, -3, and -4 Switches" section in Chapter Four for a complete
  4349.           discussion of what options get what number of characters across.
  4350.  
  4351.           The next approach applies if your document is indented, i.e. each
  4352.           line begins with one or more blank characters.  In this case, you
  4353.           can try using the "-fmt" option to omit the leading blanks.  For
  4354.           example, "4print myfile -fmt6-85" will print characters 6 through
  4355.           85 of each line within the standard 80 character area, ignoring
  4356.           the first 5 (blank) characters.  And if your document *isn't*
  4357.           indented, you can use one of the word wrap options ("-ww", "-wl",
  4358.           or "-wp"), or you can choose to simply truncate the extra charac-
  4359.           ters from each line using the "-t" switch.  See the sections
  4360.           about line formatting and word wrapping in Chapter Four.
  4361.  
  4362.        Q: Why is my LaserJet reporting an Error 21?
  4363.  
  4364.        A: Too much data is being sent to the printer, overflowing the
  4365.           printer's internal buffer.  This may occur if you're trying to
  4366.           cram too much information onto the 4Printed page.  There are
  4367.           several ways to cut down on the amount of data being sent.  If
  4368.           you're using the lines per page option ("-lpp"), try reducing the
  4369.           number of lines you are specifying.  If you are using the four
  4370.           column mode ("-4"), you may have to print only two or three
  4371.           columns.  Even something as simple as not printing the frame
  4372.           ("-fn") might let you successfully print your document.  You'll
  4373.           have to experiment with this one; see the various options in
  4374.           Chapter Four for inspiration.
  4375.  
  4376.        Q: Why does my DeskJet print out part of a 4Printed page, eject it,
  4377.           and then print the rest on the next page?
  4378.  
  4379.        A: This is the same problem as the LaserJet's Error 21; try using
  4380.           the solutions as outlined above.
  4381.  
  4382.        Q: My output is missing a few lines of text or just the title line
  4383.           on the bottom of the page.  Why is 4Print doing this?
  4384.  
  4385.        A: There are two possible causes.  One is that you are using A4
  4386.           paper, which is narrower than U.S.A.-standard 8½" x 11" paper. 
  4387.           This is solved simply by using the "-a4" switch.  The other
  4388.           possibility is that your printer has a smaller printing area than
  4389.           the HP LaserJet.  Try using the vertical compression switch ("-
  4390.           vc"), which will slightly compress the output so that it fits on
  4391.           the page.
  4392.  
  4393.  
  4394.  
  4395.  
  4396.  
  4397.      ──────────────────────────────────────────────────────────────────────
  4398.      Appendix A: Trouble-Shooting Guide                                  71
  4399.  
  4400.  
  4401.        Q: How do I get 4Print to print out pamphlets?
  4402.  
  4403.        A: 4Print was not designed to print pamphlets (though we do intend
  4404.           to provide this feature in a future version).  You can improvise,
  4405.           however, by doing a real "cut and paste" job on your document. 
  4406.           Suppose, for example, you have an 8 page document.  Use a text
  4407.           editor to rearrange the pages into this order:
  4408.  
  4409.                8 - 1 - 2 - 7 - 6 - 3 - 4 - 5
  4410.  
  4411.           If you get too confused, take a couple of pieces of paper, fold
  4412.           them down the middle, write in the page numbers, and then spread
  4413.           them out and see what goes where.
  4414.  
  4415.  
  4416.                 ┌────────┐
  4417.               ┌─┴──────┐7│
  4418.             ┌─┴──────┐5│ │   Pages the the pamphlet in order.
  4419.           ┌─┴──────┐3│ │ │
  4420.           │      1 │ │ │ │
  4421.           │        │ │ │ │
  4422.           │        │ │ ├─┘
  4423.           │        │ ├─┘
  4424.           │        ├─┘
  4425.           └────────┘
  4426.  
  4427.                    ┌─ p7  ┌─ p2       ┌─ p5  ┌─ p4  (backs)
  4428.                                           
  4429.               ┌──────┬──────┐    ┌──────┬──────┐
  4430.               │      │      │    │      │      │
  4431.               │ pg 8 │ pg 1 │    │ pg 6 │ pg 3 │  (fronts)
  4432.               │      │      │    │      │      │
  4433.               │      │      │    │      │      │
  4434.               └──────┴──────┘    └──────┴──────┘
  4435.                 Pages of pamphlet spread out 
  4436.            so we see what goes on the fronts and backs.
  4437.  
  4438.  
  4439.           Finally, print the document using the "-ri" and "-bp" options as
  4440.           necessary.  See Chapter Four for details about these options, and
  4441.           Chapter 7 for related information about printing documentation
  4442.           for IBM binders.
  4443.  
  4444.  
  4445.      ┌───────────────────────────────────────────────────────────────────┐
  4446.      │  Technical Support: If you are still having problems using        │█
  4447.      │  4Print, feel free to contact us on our support section on        │█
  4448.      │  CompuServe, PCVENB Section 3; by CompuServe Mail to [76004,      │█
  4449.      │  2605]; by FAX to 1-212-242-2599; or by telephone (voice) at      │█
  4450.      │  1-212-242-1790 Monday through Friday, 10am to 5pm Eastern time.  │█
  4451.      │                                                                   │█
  4452.      └───────────────────────────────────────────────────────────────────┘█
  4453.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  4454.  
  4455.      ──────────────────────────────────────────────────────────────────────
  4456.      72                                                 4Print User's Guide
  4457.  
  4458.  
  4459.  
  4460.  
  4461.  
  4462.  
  4463.  
  4464.  
  4465.  
  4466.  
  4467.  
  4468.  
  4469.      Appendix B
  4470.      ──────────────────────────────────────────────────────────────────────
  4471.      Network Usage
  4472.  
  4473.      4Print does not create any temporary files, so it should work just
  4474.      fine on your favorite network.  Some points for using 4Print in a
  4475.      network environment are worth noting.
  4476.  
  4477.      Note that you must purchase a copy of 4Print for each user on the net-
  4478.      work.  Network licenses are available; contact Korenthal Associates
  4479.      for information.
  4480.  
  4481.      There is no capability under 4Print to reserve your networked printer
  4482.      for the entire print job.  This means that your network might release
  4483.      the printer after 4Print prints the front side and is waiting for you
  4484.      to press <Enter> to start the reverse side.  Someone else's print job
  4485.      may start while 4Print is waiting, and things might get confused.
  4486.  
  4487.      One way around this problem is to use the procedure described under
  4488.      "Unattended Mode: The -U Switch" in Chapter Five.  The "-m" switch
  4489.      guarantees that your document will be spooled to the printer (or will
  4490.      be actively queued for print) when another user tries to "butt in."
  4491.  
  4492.      See the discussion of "Selective Printing By Side: The -F, -B, and -R
  4493.      Switches" in Chapter Five for tips on splitting up a double-sided
  4494.      output into two separate network print jobs.
  4495.  
  4496.      ┌───────────────────────────────────────────────────────────────────┐
  4497.      │  Tip for Novell users: If you use Advanced Netware version 2's    │█
  4498.      │  CAPTURE command with a short timeout (like /ti=1 or /ti=2), you  │█
  4499.      │  can cause the network to start printing before the entire        │█
  4500.      │  "print file" is sent to the server.  Do this by letting 4Print   │█
  4501.      │  print one or two pages, then press Ctrl-S (which will pause      │█
  4502.      │  4Print after a few lines).  Wait until the network starts        │█
  4503.      │  sending information to the printer, and then press Ctrl-S again  │█
  4504.      │  to allow 4Print to resume.  (This technique should only be used  │█
  4505.      │  if other people aren't "mixing" their print jobs with yours,     │█
  4506.      │  otherwise your 4Print output might be interrupted with someone   │█
  4507.      │  else's job.)                                                     │█
  4508.      │                                                                   │█
  4509.      └───────────────────────────────────────────────────────────────────┘█
  4510.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  4511.  
  4512.  
  4513.      ──────────────────────────────────────────────────────────────────────
  4514.      Appendix B: Network Usage                                           73
  4515.  
  4516.  
  4517.      Note that in 4Print Version 2.20 and later, the printer will be
  4518.      reinitialized and the requisite font will be reselected before print-
  4519.      ing the reverse side of a double-sided output.  This somewhat miti-
  4520.      gates the potential problem described above.
  4521.  
  4522.      Note that Version 4 contains special options for paper tray selection
  4523.      which may be of interest to network users.  See Chapter Five for more
  4524.      information.
  4525.  
  4526.  
  4527.  
  4528.  
  4529.  
  4530.  
  4531.  
  4532.  
  4533.  
  4534.  
  4535.  
  4536.  
  4537.  
  4538.  
  4539.  
  4540.  
  4541.  
  4542.  
  4543.  
  4544.  
  4545.  
  4546.  
  4547.  
  4548.  
  4549.  
  4550.  
  4551.  
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.  
  4562.  
  4563.  
  4564.  
  4565.  
  4566.  
  4567.  
  4568.  
  4569.  
  4570.  
  4571.      ──────────────────────────────────────────────────────────────────────
  4572.      74                                                 4Print User's Guide
  4573.  
  4574.  
  4575.  
  4576.  
  4577.  
  4578.  
  4579.  
  4580.  
  4581.  
  4582.  
  4583.  
  4584.  
  4585.      Appendix C
  4586.      ──────────────────────────────────────────────────────────────────────
  4587.      Changing 4Print's Defaults
  4588.  
  4589.      (Note: Registered users of 4Print receive a separate utility called
  4590.      KAZAP, which allows you to automatically set any or all of the 4Print
  4591.      defaults discussed below, rendering the following discussion
  4592.      unnecessary.)
  4593.  
  4594.      Warning: This is an advanced topic, for programmers only!
  4595.  
  4596.      It is possible to configure 4Print so that some often-used options and
  4597.      switches don't have to be specified on the command line.  This is
  4598.      accomplished by directly zapping the 4PRINT.EXE file with DEBUG,
  4599.      The Norton Utilities, or your favorite file zapping program.
  4600.  
  4601.      When defaults are changed, you may use switches on the command line
  4602.      to override the new default.  For example, if you change the default
  4603.      from cassette to manual feed, you can switch back to cassette feed by
  4604.      specifying "-m-" on the 4Print command line.  (In this particular
  4605.      case, you could also switch to cassette feed by replying to the
  4606.      prompt after the scan pass with "C" instead of with <Enter>.)
  4607.  
  4608.      Each of the defaults is changed by looking for the string "KAa=b"
  4609.      in 4PRINT.EXE (where "a" represents a default name, and "b" the
  4610.      "factory setting" for the default), and changing the "b" to a
  4611.      different value.  The following table summarizes the allowed changes:
  4612.  
  4613.  
  4614.      ─────────────────────────────────────────────────────────────────────
  4615.      Preset Value  Change to  Purpose                          Override
  4616.      ─────────────────────────────────────────────────────────────────────
  4617.      KAMaNuAl=n       y       Manual feed                      -m-
  4618.  
  4619.      KASiNgLe=n       y       Single sided                     -s-
  4620.  
  4621.      KAUnAtTeNdEd     y       Unattended operation             -u-
  4622.  
  4623.      KAQuIcK=n        y       No scan pass                     -q-
  4624.                               Note that "-q<number>" will
  4625.                               still work.
  4626.  
  4627.  
  4628.  
  4629.      ──────────────────────────────────────────────────────────────────────
  4630.      Appendix C: Changing 4Print's Defaults                              75
  4631.  
  4632.  
  4633.      ─────────────────────────────────────────────────────────────────────
  4634.      Preset Value  Change to  Purpose                          Override
  4635.      ─────────────────────────────────────────────────────────────────────
  4636.      KAInDeNt=0       nn      Indent nn columns                -i0
  4637.  
  4638.      KARiGhTiNd=0     nn      Right indent nn cols             -ri0
  4639.  
  4640.      KANuMbErS=n      1       Number lines starting from 1     -n-
  4641.                       nn        "      "   starting from nn
  4642.                       p       Start each page from 1
  4643.  
  4644.      KATaBsIzE=8      nn      Set tab size to nn               -tab8
  4645.  
  4646.      KACoPiEs=1       nn      Print nn copies                  -x1
  4647.  
  4648.      KAPrOp=n         y       Proportional font                -pr-
  4649.  
  4650.      KATiNy=n         y       Use tiny internal font           -tiny-
  4651.                       nn      Use tiny font with ID #n
  4652.  
  4653.      KAEsCaPe=n       y       Pass ESCape chars through        -e-
  4654.  
  4655.      KAWoRdStAr=n     y       Process WordStar files           -w-
  4656.  
  4657.      KACrIsEoL=n      y       Carriage return ends line        -c-
  4658.  
  4659.      KATrUnCaTe=n     y       Truncate long lines              -t-
  4660.  
  4661.      KAFrAmE=f        xxx     Use frame style xxx              -ff
  4662.  
  4663.      KATiTlEs=a       t       Print titles at top              -ta
  4664.                       b       Print titles at bottom
  4665.  
  4666.      KAEoFsKiP=n      y       Don't stop at Ctrl-Z's           -z-
  4667.  
  4668.      KADuPlEx=n       y       Duplex with long binding         -d-
  4669.                       s       Duplex with short binding
  4670.  
  4671.      KAPrN=prn:       xxx     Output to file/device xxx        -oprn:
  4672.  
  4673.      KAFoNt=[(...     xxx     Font selection string
  4674.  
  4675.      KATiTlE=$fn...   xxx     Default title text.  For example:
  4676.                               $fn__$fd___Ace_Widget_Co___Page_$pn
  4677.  
  4678.      KALoWeR=n        y       Use lower paper tray             -L-
  4679.                       u       Lower tray for front,
  4680.                               upper for back
  4681.  
  4682.      KAVeRtIcAl=n     c       Vertical compression             -vc-
  4683.                       e       Vertical expansion
  4684.  
  4685.      KAA4=n           y       A4 paper handling                -a4-
  4686.  
  4687.      ──────────────────────────────────────────────────────────────────────
  4688.      76                                                 4Print User's Guide
  4689.  
  4690.  
  4691.      ─────────────────────────────────────────────────────────────────────
  4692.      Preset Value  Change to  Purpose                          Override
  4693.      ─────────────────────────────────────────────────────────────────────
  4694.      KABlAnKpAgEs=n   y       No blank page suppression        -bp-
  4695.                       +       Add initial blank page
  4696.  
  4697.      KAFoRmAt=(null)  xxx     Default line formatting          -fmt
  4698.  
  4699.      KAMaInFrAmE=n    y       Mainframe carriage control       -mf-
  4700.  
  4701.      KAWoRdWrAp=n     y       Word wrap                        -ww-
  4702.                       L       Word wrap to left margin
  4703.                       p       Programmer's word wrap
  4704.  
  4705.      KATfOnT=(null)   xxx     Tiny font selection string
  4706.  
  4707.      KALpP=66         nnn     Lines per page                   -Lpp66
  4708.  
  4709.  
  4710.  
  4711.  
  4712.  
  4713.  
  4714.  
  4715.  
  4716.  
  4717.  
  4718.  
  4719.  
  4720.  
  4721.  
  4722.  
  4723.  
  4724.  
  4725.  
  4726.  
  4727.  
  4728.  
  4729.  
  4730.  
  4731.  
  4732.  
  4733.  
  4734.  
  4735.  
  4736.  
  4737.  
  4738.  
  4739.  
  4740.  
  4741.  
  4742.  
  4743.  
  4744.  
  4745.      ──────────────────────────────────────────────────────────────────────
  4746.      Appendix C: Changing 4Print's Defaults                              77
  4747.  
  4748.  
  4749.  
  4750.  
  4751.  
  4752.  
  4753.  
  4754.  
  4755.  
  4756.  
  4757.  
  4758.  
  4759.      Appendix D
  4760.      ──────────────────────────────────────────────────────────────────────
  4761.      About Korenthal Associates
  4762.  
  4763.      Korenthal Associates, Inc. (KA) is a software development company
  4764.      owned and operated by founders James E. Korenthal and Tracey M.
  4765.      Siesser.  KA has been producing top quality computer software since
  4766.      1984, and has been a member of the Association of Shareware Profes-
  4767.      sionals (ASP) since 1988.  Jim Korenthal is currently Vice President
  4768.      of the ASP.  Some of KA's accomplishments include:
  4769.  
  4770.         o The Webster's New World line of software, published by Simon &
  4771.           Schuster.  These products include Webster's New World Spelling
  4772.           Checker, Professional Spelling Checker, Thesaurus, Professional
  4773.           Thesaurus, Combo, and Writer I and II.
  4774.  
  4775.           PC Magazine named Webster's New World Spelling Checker and
  4776.           Webster's New World Writer Products of the Year in 1986.
  4777.  
  4778.        o  Babble!  A toy for people who love words.  This program babbles
  4779.           endlessly in an unlimited number of writing styles.  It comes
  4780.           with neat writing samples like Shakespeare, Dick and Jane, and
  4781.           Firesign Theater, and includes a plethora of special effects like
  4782.           Stutter, Hangman, and Subliminal.  You can mix samples together,
  4783.           and even import your own text!
  4784.  
  4785.           Babble! is fun to play with solo or as part of a group.  It can
  4786.           be used as a creative tool for writers, an idea scrambler for
  4787.           brainstorming sessions, and even just as entertainment for people
  4788.           who love words!
  4789.  
  4790.                "More fun than showing your latest spreadsheets
  4791.                 or those tired revolving beach balls."
  4792.                 Stan Kelly-Bootle, Computer Language, October 1990
  4793.  
  4794.        o  TapMark and TapMail (previously called TAPLEX), utilities which
  4795.           facilitate use of the CompuServe navigation program TAPCIS. 
  4796.           TapMark, which is considered indispensable by most TAPCIS users,
  4797.           keeps track of which message threads you are following in a
  4798.           forum, and watches out for new messages that might be of inter-
  4799.           est.  TapMail organizes your Email correspondence by sorting it
  4800.           into different files based on the name of the correspondent.
  4801.  
  4802.  
  4803.      ──────────────────────────────────────────────────────────────────────
  4804.      78                                                 4Print User's Guide
  4805.  
  4806.  
  4807.      Please feel free to contact us if you have any questions about any of
  4808.      our products or require additional information.
  4809.  
  4810.           Korenthal Associates, Inc.    
  4811.           230 West 13th Street          
  4812.           New York, New York 10011      
  4813.           U.S.A.                        
  4814.  
  4815.           Orders only: (800) KA-PROGS
  4816.           Information: (212) 242-1790
  4817.           FAX:         (212) 242-2599
  4818.           CompuServe:  [76004,2605]
  4819.  
  4820.  
  4821.  
  4822.  
  4823.  
  4824.  
  4825.  
  4826.  
  4827.  
  4828.  
  4829.  
  4830.  
  4831.  
  4832.  
  4833.  
  4834.  
  4835.  
  4836.  
  4837.  
  4838.  
  4839.  
  4840.  
  4841.  
  4842.  
  4843.  
  4844.  
  4845.  
  4846.  
  4847.  
  4848.  
  4849.  
  4850.  
  4851.  
  4852.  
  4853.  
  4854.  
  4855.  
  4856.  
  4857.  
  4858.  
  4859.  
  4860.  
  4861.      ──────────────────────────────────────────────────────────────────────
  4862.      Appendix D: About Korenthal Associates                              79
  4863.  
  4864.  
  4865.  
  4866.  
  4867.  
  4868.  
  4869.  
  4870.  
  4871.  
  4872.  
  4873.  
  4874.  
  4875.      Appendix E
  4876.      ──────────────────────────────────────────────────────────────────────
  4877.      License Information
  4878.  
  4879.      4Print is a copyrighted computer program which is being marketed as
  4880.      shareware.  It is not a public domain program, and it is not free.
  4881.  
  4882.      Shareware is a marketing method, not a type of software.  It gives
  4883.      users a legal but limited trial period to evaluate a program before
  4884.      purchase.  If you continue to use the program after the trial period
  4885.      has ended, you must register (pay for) the program.  It's that simple.
  4886.  
  4887.      Shareware is produced by accomplished programmers, just like retail
  4888.      software.  There is good shareware and bad shareware, just as there is
  4889.      good and bad retail software.  The primary difference between share-
  4890.      ware and retail software is that with shareware you know if it's good
  4891.      or bad BEFORE you pay for it.
  4892.  
  4893.      Shareware benefits you, the software user, because you get to try the
  4894.      software on your own system, within your own special work environment,
  4895.      and determine whether it meets your needs before you pay for it.  And
  4896.      shareware benefits program authors because we are able to get our
  4897.      products into your hands without the hundreds of thousands of dollars
  4898.      in expenses it takes to launch a traditional software product.  There
  4899.      are many programs on the market today which would never have become
  4900.      available without the shareware marketing method.
  4901.  
  4902.      The shareware system and the continued availability of quality share-
  4903.      ware products depend on your willingness to register and pay for the
  4904.      shareware you use.  It's the registration fees you pay that allow us
  4905.      to support and continue to develop our products.
  4906.  
  4907.      Please show your support for shareware by registering those programs
  4908.      you actually use and by passing them on to others.
  4909.  
  4910.      Shareware is kept alive by YOUR support!
  4911.  
  4912.  
  4913.  
  4914.  
  4915.  
  4916.  
  4917.  
  4918.  
  4919.      ──────────────────────────────────────────────────────────────────────
  4920.      80                                                 4Print User's Guide
  4921.  
  4922.  
  4923.      ──────────────────────────────────────────────────────────────────────
  4924.      The Association of Shareware Professionals (ASP)
  4925.  
  4926.      The Association of Shareware Professionals (ASP) was formed in 1987 to
  4927.      inform users about the shareware marketing method, to foster a high
  4928.      degree of professionalism among shareware authors, and to provide a
  4929.      forum through which ASP members may communicate, share ideas, and
  4930.      learn from each other.
  4931.  
  4932.      ASP members' shareware meets additional quality standards beyond
  4933.      ordinary shareware.  Members' programs must be fully functional (not
  4934.      crippled, demo, or out-of-date versions); program documentation must
  4935.      be complete and must clearly state the registration fee and the
  4936.      benefits received for registering; members must provide free mail or
  4937.      telephone support for a minimum of three months after registration;
  4938.      and members must meet other guidelines which help to insure that you
  4939.      as a user receive good value for your money and are dealt with profes-
  4940.      sionally.
  4941.  
  4942.  
  4943.                        ┌─────────┐                  
  4944.                  ┌─────┴───┐     │               (R)
  4945.                ──│         │o    │──────────────────
  4946.                  │   ┌─────┴╨──┐ │  Association of  
  4947.                  │   │         │─┘  Shareware       
  4948.                  └───│    o    │    Professionals   
  4949.                ──────│    ║    │────────────────────
  4950.                      └────╨────┘    MEMBER          
  4951.  
  4952.  
  4953.         Korenthal Associates is a member of the Association of Shareware
  4954.         Professionals (ASP).  ASP wants to make sure that the shareware
  4955.         principle works for you.  If you are unable to resolve a share-
  4956.         ware-related problem with an ASP member by contacting the member
  4957.         directly, ASP may be able to help.  The ASP Ombudsman can help you
  4958.         resolve a dispute or problem with an ASP member, but does not
  4959.         provide technical support for members' products.  Please write to
  4960.         the ASP Ombudsman at 545 Grover Road, Muskegon, MI 49442 or send a
  4961.         CompuServe message via CompuServe MAIL to ASP Ombudsman 70007,3536.
  4962.  
  4963.  
  4964.      ──────────────────────────────────────────────────────────────────────
  4965.      Registration Information
  4966.  
  4967.      4Print is provided at no charge for evaluation purposes only.  This
  4968.      shareware version of 4Print is the complete working version of the
  4969.      program, not a crippled or demo copy.
  4970.  
  4971.      Korenthal Associates, Inc. hereby grants you a limited license to use
  4972.      this software for evaluation purposes only for a period not to exceed
  4973.      30 days.  If you intend to continue using this software (and/or its
  4974.      documentation) after the 30-day evaluation period, you MUST make a
  4975.      registration payment to Korenthal Associates.  Using this software
  4976.  
  4977.      ──────────────────────────────────────────────────────────────────────
  4978.      Appendix E: License Information                                     81
  4979.  
  4980.  
  4981.      after the evaluation period has ended without registering is a viola-
  4982.      tion of the terms of this limited license.
  4983.  
  4984.      You may register 4Print using the accompanying order form (or the form
  4985.      printed by the program itself); you may also register using MasterCard
  4986.      or Visa by phone (800-KA-PROGS), FAX (212-242-2599), or CompuServe
  4987.      Mail (76004,2605).  Company purchase orders are welcome.  Site licens-
  4988.      es and volume discounts are available.  For additional information,
  4989.      please call 212-242-1790.
  4990.  
  4991.      The $49.95 registration fee licenses one copy of the software for use
  4992.      on one computer.  Additional sites, or additional computers on a local
  4993.      area network, must be licensed separately; alternatively, contact
  4994.      Korenthal Associates for current site license information.
  4995.  
  4996.      As a registered user, you will receive:
  4997.  
  4998.         o The full retail 4Print package including typeset manual.
  4999.  
  5000.         o The most current version of the 4Print program.  We are always
  5001.           improving our products, and registration ensures that you have
  5002.           the latest version.
  5003.  
  5004.         o 4FOLD, a companion utility which allows you to print multiple
  5005.           files one per column with headers on each column instead of one
  5006.           per page.
  5007.  
  5008.         o KAZAP, a utility which allows you to bypass DEBUG and easily set
  5009.           all the 4Print default parameters.
  5010.  
  5011.         o Free technical support.
  5012.  
  5013.         o Notification of significant upgrades to 4Print.
  5014.  
  5015.         o Special offers on other products from Korenthal Associates.
  5016.  
  5017.         o A free CompuServe IntroPak, which includes a $15.00 usage credit
  5018.           and a complimentary subscription to CompuServe Magazine, is
  5019.           available to 4Print registered users who do not yet subscribe to
  5020.           CompuServe.  CompuServe will open the door for a whole new world
  5021.           of information, services, and interesting people.  CompuServe is
  5022.           also the best place to obtain technical support for products from
  5023.           Korenthal Associates (and many other vendors and developers). 
  5024.           This CompuServe IntroPak (a $39.95 value) is provided to 4Print
  5025.           registered users compliments of CompuServe, Inc., and Korenthal
  5026.           Associates.
  5027.  
  5028.  
  5029.  
  5030.  
  5031.  
  5032.  
  5033.  
  5034.  
  5035.      ──────────────────────────────────────────────────────────────────────
  5036.      82                                                 4Print User's Guide
  5037.  
  5038.  
  5039.      ──────────────────────────────────────────────────────────────────────
  5040.      Limited Distribution License
  5041.  
  5042.      Korenthal Associates encourages you to freely copy and distribute the
  5043.      unregistered version of 4Print subject to the following restrictions:
  5044.  
  5045.      The 4Print package is defined as containing all the material listed in
  5046.      the PACKING.LST text file.  If any files listed in the PACKING.LST
  5047.      text file, or the PACKING.LST file itself, are missing, then the
  5048.      package is not complete and distribution is forbidden.  Please contact
  5049.      us to obtain a complete package suitable for distribution.
  5050.  
  5051.         o The package - including all related program files and
  5052.           documentation files - CANNOT be modified in any way and must be
  5053.           distributed as a complete package, without exception.
  5054.  
  5055.        o  You may charge a distribution fee for the package, but you must
  5056.           not represent in any way that you are selling the software
  5057.           itself.
  5058.  
  5059.        o  You may not list any of our products in advertisements, catalogs,
  5060.           or other literature which describe our products as "free",
  5061.           "cheap", or "public domain".
  5062.  
  5063.         o If you indicate ASP membership for products listed in your
  5064.           catalog or on your BBS, please do so in your listing for this
  5065.           product.
  5066.  
  5067.         o The PRINTED documentation may not be reproduced in whole or in
  5068.           part, using any means, without the prior written permission of
  5069.           Korenthal Associates.  In other words, the disk-based documen-
  5070.           tation may not be distributed in PRINTED (hardcopy) form.
  5071.  
  5072.         o Korenthal Associates prohibits the distribution of outdated
  5073.           versions of our products without written permission from
  5074.           Korenthal Associates.  If the version you have is over twelve
  5075.           (12) months old, please contact us to ensure that you have the
  5076.           most current version.  This version was released in March, 1991.
  5077.  
  5078.         o You shall not use, copy, rent, lease, sell, modify, decompile,
  5079.           disassemble, otherwise reverse engineer, or transfer the licensed
  5080.           program except as provided in this agreement.  Any such unautho-
  5081.           rized use shall result in immediate and automatic termination of
  5082.           this license.
  5083.  
  5084.         o Korenthal Associates reserves the right to withdraw permission
  5085.           from any vendor to distribute our products at any time and for
  5086.           any reason.
  5087.  
  5088.      All rights not expressly granted here are reserved by Korenthal
  5089.      Associates, Inc.
  5090.  
  5091.  
  5092.  
  5093.      ──────────────────────────────────────────────────────────────────────
  5094.      Appendix E: License Information                                     83
  5095.  
  5096.  
  5097.      ──────────────────────────────────────────────────────────────────────
  5098.      Please Help Us Serve You Better
  5099.  
  5100.      We would appreciate copies of anything you print regarding our
  5101.      software.  Please send us a copy of any reviews, articles, catalog
  5102.      descriptions, or other information you print or distribute regarding
  5103.      any of our products.  And feel free to contact us if you have any
  5104.      questions, comments, or suggestions or require additional information.
  5105.  
  5106.      Thank you for your time and assistance and for supporting the
  5107.      shareware marketing concept!
  5108.  
  5109.           Korenthal Associates, Inc.
  5110.           230 West 13th Street
  5111.           New York, New York 10011
  5112.           U.S.A.
  5113.  
  5114.           Orders only: (800) KA-PROGS
  5115.           Information: (212) 242-1790
  5116.           FAX:         (212) 242-2599
  5117.           CompuServe:  [76004,2605]
  5118.  
  5119.  
  5120.  
  5121.  
  5122.  
  5123.  
  5124.  
  5125.  
  5126.  
  5127.  
  5128.  
  5129.  
  5130.  
  5131.  
  5132.  
  5133.  
  5134.  
  5135.  
  5136.  
  5137.  
  5138.  
  5139.  
  5140.  
  5141.  
  5142.  
  5143.  
  5144.  
  5145.  
  5146.  
  5147.  
  5148.  
  5149.  
  5150.  
  5151.      ──────────────────────────────────────────────────────────────────────
  5152.      84                                                 4Print User's Guide
  5153.  
  5154.  
  5155.  
  5156.  
  5157.  
  5158.  
  5159.  
  5160.  
  5161.  
  5162.  
  5163.  
  5164.  
  5165.      Index
  5166.      ──────────────────────────────────────────────────────────────────────
  5167.  
  5168.                    ─ 4 ─                   Brochures . . . . . . . . . . 72
  5169.                                            Buffer overflow, LaserJet . . 71
  5170.      4Fold . . . . . . . . . . . .  58     Bypassing End Of File charac-
  5171.                                                 ters . . . . . . . . . . 56
  5172.                    ─ A ─
  5173.                                                         ─ C ─
  5174.      A4 paper  . . . . . .  37, 71, 76
  5175.      Aborted print job . . . . . .  40     C language  . . . . . . . . . 57
  5176.      Apple II files  . . . . . . .  49        listings . . . . . . . . . 34
  5177.      Applications  . . . . . . . .  57     Cancel printing . . . . . . . 10
  5178.         database users . . . . . .  59     Carriage control characters  50,
  5179.         programmers  . . . . . . .  57                               58, 77
  5180.         spreadsheet users  . . . .  61     Carriage returns  49, 64, 70, 76
  5181.         word processor users . . .  64     Cartridge fonts . . . . . . . 47
  5182.      ASCII files . . .  59, 61, 64, 70     Case, upper or lower  . . . . 11
  5183.      ASCII-saved documents  34, 35, 55     Cassette feed . . . . . . . . 10
  5184.      Assembler, Microsoft  . .  18, 58     CED . . . . . . . . . . . 26, 27
  5185.      Assembly listings . . . . . .  58     Center line . . . . . . . 17, 39
  5186.      Attorney's line numbering . .  31     Centering . . 10, 19, 20, 43, 58
  5187.      AUTOEXEC.BAT  . . . . . .  12, 38        horizontal . . . . . . . . 19
  5188.      Avoiding prompts  . . . . . .  44        split in title . . . . 27, 28
  5189.                                               suppression  . . . . . . . 20
  5190.                    ─ B ─                      title or header  . . . . . 27
  5191.                                               vertical . . . . . . . . . 19
  5192.      Back side only  . . . . . . .  40     Changing defaults . . . . . . 75
  5193.      Backspaces  . . . . . . .  49, 64     Characters per line . . . . . 17
  5194.      Batch file  . . . . . . .  26, 27     Chopping long lines . . . . . 32
  5195.      Binder                                Column selection  . . . . . . 23
  5196.         IBM  . . . . . . . . . . .  66     Column separator, DeskJet . . 39
  5197.         ledger . . . . . . . .  39, 58     Column width  . . . . . . . . 51
  5198.         three-ring . . . . . . . .  32     Columns
  5199.      Binding                                  hidden . . . . . . . . . . 63
  5200.         long . . . . . . . . . . .   8        number of  . . . . . . . . 15
  5201.         short  . . . . . .   8, 39, 58        selecting  . . . . . . . . 23
  5202.      Blank lines . . . . . . .  35, 36        special page numbers . . . 28
  5203.      Blank pages . . .  18, 58, 66, 77        transposing  . . . . . . . 23
  5204.      Blank space on page . . . . .  33     Command line  . . . . . . 11, 12
  5205.      Boldfacing  . . . . .  49, 55, 64     Compatible printers .  1, 37, 45
  5206.      Book style  . . . . . . . . .  19     Compression
  5207.  
  5208.  
  5209.      ──────────────────────────────────────────────────────────────────────
  5210.      Index                                                               85
  5211.  
  5212.  
  5213.         blank lines  . . . . . . .  35     End Of File characters  . 56, 76
  5214.         font . . . . . . . . . . .  51     Environment, DOS  . . . . 12, 38
  5215.         form feeds . . . . . . . .  36     EOF characters  . . . . . 56, 76
  5216.         vertical . . .  37, 45, 71, 76     Errors  . . . . . . . . . . . 69
  5217.      Continuation lines  . . .  34, 70        205  . . . . . . . . . . . 70
  5218.      Control characters  . . . . .  55        207  . . . . . . . . . . . 69
  5219.      Control characters,                      21 on LaserJet . . . . . . 71
  5220.                         carriage50, 77     Escape characters . . 48, 50, 76
  5221.      Control codes . . . . . . . .  47     Escape code processing  . . . 50
  5222.      Control string for frames . .  21     European (A4) paper . 37, 71, 76
  5223.      Control-Z characters  . .  56, 76     European printers . . . . . . 45
  5224.      Copies, multiple  . . . .  46, 76     Excel, Microsoft  . . . . . . 62
  5225.      Courier font  . . . . . . . .  38     Expansion, vertical . . . 46, 76
  5226.      CP/M  . . . . . . . . . . . .  56     Exporting ASCII files . . . . 64
  5227.      Curl, paper . . . . . . . . .   9     Extended ASCII characters . . 64
  5228.  
  5229.                    ─ D ─                                ─ F ─
  5230.  
  5231.      Database applications . . . .  59     Facing pages  . . . . . . 19, 66
  5232.      Database reports  . . . . . .  54     Factory settings  . . . . . . 75
  5233.      DBASE files . . . . . . . . .  59     File
  5234.      DBASE III+  . . . . . . . . .  60        date . . . . . . . . . . . 26
  5235.      DBASE IV  . . . . . . . . . .  59        extension  . . . . . . . . 14
  5236.      DEBUG . . . . . . . . . .  13, 75        imported . . . . . . . . . 49
  5237.      Default header  . . . . .  26, 28        name . . . . . . . . . . . 26
  5238.      Default options and switches   75        output to  . . . . . . . . 41
  5239.      Defeating manual feeder . . .  42        specifications . . . . . . 11
  5240.      Delaying print  . . . . . . .  42        time . . . . . . . . . . . 26
  5241.      DeskJet . . .   5, 15, 30, 38, 48        to print . . . . . . . . . 13
  5242.         partial printout . . . . .  71     Financial projections . . . . 63
  5243.      Device, output to . . . . . .  41     Fixed pitch font  . . . . . . 47
  5244.      Disk file output  . . . . . .  42     Folded documents  . . . . . . 72
  5245.      Distributing multiple copies   46     Font
  5246.      DOC switch  . . . . . . . . .  20        and control codes  . . . . 47
  5247.      DOS                                      cartridge  . . . . . . . .  1
  5248.         "type" command . . . . . .  64        characteristics  . . . . . 48
  5249.         environment  . . . . .  12, 38        downloaded . . . . . . . . 47
  5250.         error message  . . . . . .  69        ID number  . . . . . . . . 54
  5251.      Dot commands, WordStar  . . .  55        proportional . . . . . 51, 76
  5252.      Dot prompt  . . . . . . . . .  59        selection  . . . . 47, 48, 76
  5253.      Double-sided manuals  . . . .  67        switching  . . . . . . . . 50
  5254.      Double-sided printing . .  38, 42     Footnotes . . . . . . . . . . 65
  5255.      Downloaded font . . . . . . .  47     Forcing a blank page  . . . . 19
  5256.      Downloaded tiny font  . . . .  53     Foreign files . . . . . . . . 49
  5257.      Draft printing  . . . . .  34, 55     Form feeds  . . . 18, 36, 58, 64
  5258.      Duplex printing .  15, 38, 58, 76     Formats, report . . . . . . . 60
  5259.      Duplex with short binding  39, 76     Formatted documents . . . . . 20
  5260.                                            Formatting
  5261.                    ─ E ─                      line . . . . . . . 23, 61, 77
  5262.                                               page . . . . . . . . . . . 15
  5263.      Eliminating prompts . . . . .  44     Fortran . . . . . . . . . 50, 58
  5264.      Eliminating the scan pass . .  44     FoxBASE+  . . . . . . . . . . 59
  5265.      End of document . . . . . . .  19     FoxPro  . . . . . . . . . . . 59
  5266.  
  5267.      ──────────────────────────────────────────────────────────────────────
  5268.      86                                                 4Print User's Guide
  5269.  
  5270.  
  5271.      Frame problems  . . . . . . .  70                  ─ J ─
  5272.      Frame style . . .  17, 21, 39, 76
  5273.         control string . . . . . .  21     Jams, paper . . . . . . .  9, 43
  5274.         example of custom  . . . .  22
  5275.         title tracking . . . . . .  21                  ─ K ─
  5276.      Front side only . . . . . . .  40
  5277.      Full font selection . . . . .  48     KAZAP . . . . . . . . . . 13, 75
  5278.      Full tiny font selection  . .  53
  5279.                                                         ─ L ─
  5280.                    ─ G ─
  5281.                                            Landscape cartridge . . . . . 38
  5282.      Groups of files . . . . . . .  13     Landscape font  . . . 47, 48, 53
  5283.                                            Large documents . . . . . . . 44
  5284.                    ─ H ─                   LaserJet
  5285.                                               error 21 . . . . . . . . . 71
  5286.      Half-size manuals . . . . . .  66        IID or IIID  . . . . . . . 38
  5287.      Hanging indent  . . . . . . .  34        IIP  . . . . . . . . . 41, 76
  5288.      Header                                Lawyer's line numbering . . . 31
  5289.         changing . . . . . . . . .  26     Ledger binder . . . . . . 39, 58
  5290.         default  . . . . . . . . .  28     Left arrow for escape . . . . 50
  5291.         placement  . . . . . . . .  32     Left margin . . . . . . . . . 31
  5292.         substitutions  . . . . . .  27     LG095R16.USL  . . . . . . . . 48
  5293.         suppressing  . . . . . . .  26     Line feeds  . . . . . . . 49, 64
  5294.      Help screen . . . . . . . . .  11     Line formatting . . . 23, 61, 77
  5295.      Hidden columns  . . . . . . .  63     Line number, starting . . . . 31
  5296.      High order bits . . . . . . .  55     Line numbering  . 30, 52, 57, 76
  5297.      Horizontal centering  . . . .  19        Attorneys  . . . . . . . . 31
  5298.      Horizontal compression  . . .  51     Line printer font . . . . 47, 48
  5299.      Hyphen in filename  . . . . .  14     Line wrapping . . . . . . . . 32
  5300.                                            Lines over text . . . . . . . 70
  5301.                    ─ I ─                   Lines per page  . . . 29, 46, 77
  5302.                                            Listings, program . . . . . . 34
  5303.      I-frame . . . . . . . . . . .  21     Long lines  32, 34, 51, 52, 76, 77
  5304.      IBM binders . . .  28, 31, 64, 66     Lotus 1-2-3 . . . . . . . 52, 62
  5305.      IBM graphics characters   47, 54,     Lower paper tray  . . . . 40, 76
  5306.                                 64, 66     LPT1, LPT2  . . . . . 38, 41, 69
  5307.      ID number, font . . . . . . .  54
  5308.      Ideas for use . . . . . . . .  57                  ─ M ─
  5309.      Ignoring columns  . . . . . .  24
  5310.      Imported files  . . . . . . .  49     Macintosh files . . . . . . . 49
  5311.      Improving print quality .  48, 51     Mainframe carriage control   24,
  5312.      Incompatible options  . . . .  13                           50, 58, 77
  5313.      Indent                                Manual feed . . . 10, 15, 41, 75
  5314.         automatic  . . . . . . . .  20     Manuals, half-size  . . . . . 66
  5315.         hanging  . . . . . . . . .  34     Margin, left  . . . . . . . . 31
  5316.         left . . . . . . . . .  28, 76     Margins, word processor . 65, 66
  5317.         right  . . . . . . . .  31, 76     Maximum characters  . . . . . 17
  5318.         top  . . . . . . . . . . .  33     Maximum throughput  . . . 30, 58
  5319.      Indented documents  . . . . .  71     Microsoft
  5320.      Initializing the printer  . .  73        Assembler  . . . . . . 18, 58
  5321.      Inserting text  . . . . .  23, 24        Excel  . . . . . . . . . . 62
  5322.      Installation  . . . . . . . .   4        Word . . . . . . . . . . . 34
  5323.      Internal tiny font  . . .  53, 76     Missing lines . . . . . . . . 71
  5324.  
  5325.      ──────────────────────────────────────────────────────────────────────
  5326.      Index                                                               87
  5327.  
  5328.  
  5329.      More characters on a line . .  51        internal tiny font . . . . 53
  5330.      Multiple blank lines  . . . .  35        line formatting  . . . . . 23
  5331.      Multiple copies . . . . .  46, 76        line numbering . . . . . . 30
  5332.      Multiple file support . . . .  43        lines per page . . . . . . 29
  5333.      Munged documents  . . . . . .  43        mainframe carriage
  5334.                                                               control18, 50
  5335.                    ─ N ─                      manual feed  . . . . . . . 41
  5336.                                               maximum throughput . . . . 30
  5337.      Narrow documents  . . . . . .  28        multiple copies  . . . . . 46
  5338.      Network considerations    40, 41,        nonstandard tabs . . . . . 52
  5339.                             45, 69, 73        numbering lines  . . . . . 30
  5340.      New features  . . . . . . . .   2        output destination . . . . 41
  5341.      New lines in file . . . . . .  49        paper tray selection . . . 40
  5342.      Nonstandard tabs  . . . . . .  52        programmer's wrap  . . . . 34
  5343.      Norton Utilities  . . . . . .  75        proportional font  . . . . 51
  5344.      Not ready error writing device  69       quick printing . . . . . . 43
  5345.      Number of columns . . . . . .  15        right indentation  . . . . 31
  5346.      Number of lines per page  . .  29        selective printing by page 42
  5347.      Numbering lines . . .  30, 57, 76        selective printing by side 40
  5348.                                               short binding  . . . . . . 39
  5349.                    ─ O ─                      single sided printing  . . 44
  5350.                                               squashed . . . . . . . . . 17
  5351.      Off-line printer  . . . . . .  69        squashed font  . . . . . . 51
  5352.      One side only printing  . . .  44        tiny . . . . . . . . . . . 17
  5353.      Operation . . . . . . . . . .  10        title placement  . . . . . 32
  5354.      Option syntax . . . . . . . .  12        title, changing  . . . . . 26
  5355.      Options . . . . . . . . .  11, 12        top indent . . . . . . . . 33
  5356.         A4 paper . . . . . . . . .  37        truncating lines . . . . . 32
  5357.         blank page . . . . . . . .  18        unattended mode  . . . . . 44
  5358.         bypassing End Of File char-           vertical compression . . . 45
  5359.           acters . . . . . . . . .  56        vertical expansion . . . . 46
  5360.         carriage returns, imported            wide . . . . . . . . . . . 15
  5361.           files  . . . . . . . . .  49        word wrapping  . . . . . . 34
  5362.         centering  . . . . . . . .  19        WordStar files . . . . . . 55
  5363.         column selection . . . . .  23     Order of processing . . . . . 12
  5364.         compressing blank lines  .  35     Output redirection   15, 38, 41,
  5365.         compressing form feeds . .  36                               69, 76
  5366.         DeskJet  . . . . . . . . .  38     Overflow lines  . . . . . . . 51
  5367.         doc switch . . . . . . . .  20     Overflow, LaserJet  . . . . . 71
  5368.         downloaded font  . . . . .  47     Overflow, page  . . . . . . . 39
  5369.         downloaded tiny font . . .  53     Overprinted lines . . . . 49, 64
  5370.         duplex printing  . . . . .  38     Overriding defaults . . . . . 75
  5371.         escape code processing . .  50
  5372.         formatted document . . . .  20                  ─ P ─
  5373.         formatting, line . . . . .  23
  5374.         frame style  . . . . . . .  21     Page
  5375.         full font selection  . . .  48        centering  . . . . . . . . 19
  5376.         full tiny font selection .  53        count  . . . . . . . . . . 26
  5377.         header, changing . . . . .  26        ejects . . . . . . . . . . 30
  5378.         IBM binders  . . . . . . .  31        formatting . . . . . . . . 15
  5379.         incompatible . . . . . . .  13        layout . . . . . . . . . . 20
  5380.         indentation, right . . . .  31        numbers  . . . . . 26, 28, 43
  5381.         indenting lines  . . . . .  28        overflow . . . . . . . . . 39
  5382.  
  5383.      ──────────────────────────────────────────────────────────────────────
  5384.      88                                                 4Print User's Guide
  5385.  
  5386.  
  5387.         selection  . . . . . . . .  42     Quick printing  . . . 20, 43, 75
  5388.      Page breaks, WordStar . . . .  55     Quick start . . . . . . . . .  4
  5389.      Pages, facing . . . . . . . .  66
  5390.      Pamphlets . . . . . . . . . .  72                  ─ R ─
  5391.      Paper
  5392.         curl . . . . . . . . . . .   9     RAM cartridge . . . .  5, 38, 48
  5393.         handling . . . . . . . . .  15     Read-only file  . . . . . . . 69
  5394.         jams . . . . . . . . .   9, 43     README.DOC  . . . . . . . . .  5
  5395.         stacking . . . . . . . . .  11     Rear output tray  . . . . . . 10
  5396.      Paper tray                            Redirection of output .  15, 38,
  5397.         lower  . . . . . . . . . .  76                           41, 69, 76
  5398.         selection  . . . . . . . .  40     Reduction of print area . . . 45
  5399.      Paradox . . . . . . . . . . .  60     Report formats  . . . . . 60, 62
  5400.      Paragraph . . . . . . . . . .  65     Reprinting selected pages . . 42
  5401.      Partial printout  . .  42, 56, 70     Reverse pass  . . . . . . . . 10
  5402.      Partially printed pages . . .  30     Right indentation . . . . . . 31
  5403.      Pascal  . . . . . . . . . . .  57
  5404.         listings . . . . . . . . .  34                  ─ S ─
  5405.      Permanent font  . . .  48, 53, 54
  5406.      Press Enter prompt    10, 41, 44,     Saddle stitching  . . . . . . 39
  5407.                                 73, 75     Saving output for later . . . 42
  5408.      Print area  . . . . . . .  45, 46     Scan pass 10, 18, 40, 42, 43, 58
  5409.      Print destination .   15, 38, 41,     Selecting columns . . . . . . 23
  5410.                                 69, 76     Selection of font . . . . . . 48
  5411.      Print spooler . . . . . .  69, 73     Selection of tray . . . . . . 40
  5412.      Printer                               Selection, tiny font  . . . . 53
  5413.         compatibility  . . . . . .   1     Selective printing by page  . 42
  5414.         driver . . . . . . . . . .  65     Selective printing by side  . 40
  5415.         initialization . . . . . .  73     Setting tab width . . . . . . 52
  5416.         mechanics  . . . . . . . .  37     Shared printer  . . . . . . . 73
  5417.         off-line . . . . . . . . .  69     Short binding . . . . . . 39, 58
  5418.         shared . . . . . . . . . .  73     Short printouts . . . . . . . 56
  5419.         sharing  . . . . . . . . .  69     Single page file  . . . . . . 10
  5420.      Printing by side  . . . . . .  40     Single sided printing . . 44, 75
  5421.      Printing on one side only . .  44     Slow computer . . . . . . . . 44
  5422.      Printing selected pages . . .  42     Smushing documents  . . . 36, 58
  5423.      PRN . . . . . . . . . . .  41, 69     Soft fonts  . . .  1, 47, 48, 52
  5424.      Problems  . . . . . . . . . .  69        landscape  . . . . . . . . 38
  5425.      Processing order  . . . . . .  12     Specifying files  . . . . . . 13
  5426.      Program listings  .   34, 41, 44,     Spooler, print  . . . . . 69, 73
  5427.                         45, 52, 54, 57     Spreadsheets  . . 25, 52, 54, 61
  5428.      Programmer's wrap . . . .  34, 77        wide . . . . . . . . . . . 63
  5429.      Programmers . . . . . . . . .  57     Squashed font . . . . . . . . 51
  5430.      Projections, financial  . . .  63     Stacking, paper . . . . . . . 11
  5431.      Prompt, "Press Enter" .   10, 41,     Standard HP printers  . . . . 46
  5432.                             44, 73, 75     Standard LaserJet layout  . . 29
  5433.      Prompts, avoiding . . . . . .  44     Starting line number  . . . . 31
  5434.      Proportional font . .  47, 51, 76     Startup file  . . 12, 41, 46, 53
  5435.                                            Stripping high order bits . . 55
  5436.                    ─ Q ─                   Substitutions, title or header  27
  5437.                                            Suppressing initial columns . 24
  5438.      Quattro Pro . . . . . . . . .  62     Suppressing the title . . . . 26
  5439.      Questions . . . . . . . . . .  69     Switches  . . . . . . . . . . 11
  5440.  
  5441.      ──────────────────────────────────────────────────────────────────────
  5442.      Index                                                               89
  5443.  
  5444.  
  5445.      Switching fonts . . . . . . .  50        database reports . . . . . 61
  5446.                                               documents  . . . . . . 34, 53
  5447.                    ─ T ─                      grandfathered option . . . 52
  5448.                                               program listings . . . . . 57
  5449.      T-frame . . . . . . . . .  17, 21        spreadsheets . 25, 52, 54, 63
  5450.      Tab characters  .  52, 58, 65, 76     Word processors . . . . . . . 34
  5451.      Tabs, nonstandard . . . . . .  52        applications . . . . . . . 64
  5452.      Temporary files . . . . . . .  73     Word wrapping .  20, 28, 34, 57,
  5453.      Text, inserting . . . . . . .  23                           65, 66, 77
  5454.      Tiny font . . . .  47, 52, 53, 76     Word, Microsoft . . . . . . . 34
  5455.         internal . . . . . . . . .  53     WordPerfect . . . . . . . 34, 65
  5456.         selection  . . . . . .  53, 77     WordStar  . . . . . . . . 55, 76
  5457.      Title
  5458.         alternating  . . . . . . .  32                  ─ Z ─
  5459.         changing . . . . . . .  26, 76
  5460.         default  . . . . . . .  28, 76     Zapping 4PRINT.EXE  . . . . . 75
  5461.         placement  . . . . . .  32, 76
  5462.         substitutions  . . . . . .  27
  5463.         suppressed text in . . . .  27
  5464.         suppressing  . . . . . . .  26
  5465.         tracking . . . . . . . . .  21
  5466.      Toggle switches . . . . . . .  11
  5467.      Top indent  . . . . . . . . .  33
  5468.      Top of page . . . . . . . . .  35
  5469.      Transposing columns . . . . .  23
  5470.      Tray selection  . . . . . . .  40
  5471.      Tray, lower . . . . . . . . .  76
  5472.      Troubleshooting . . . . . . .  69
  5473.      Truncated printouts . . . . .  56
  5474.      Truncating lines  . .  32, 57, 76
  5475.      Truncating text . . . . . . .  25
  5476.  
  5477.                    ─ U ─
  5478.  
  5479.      Unattended mode . . .  44, 73, 75
  5480.      Uncurling the paper . . . . .  45
  5481.      Underlining . . . . .  49, 55, 64
  5482.      Underscores . . . . . . .  26, 36
  5483.      Unformatted files . . . . . .  30
  5484.      UNIX conventions  . . . . . .  11
  5485.      Upper paper tray  . . . . . .  40
  5486.      Usage . . . . . . . . . . . .  57
  5487.  
  5488.                    ─ V ─
  5489.  
  5490.      Vertical centering  . . . . .  19
  5491.      Vertical compression  .   37, 45,
  5492.                                 71, 76
  5493.      Vertical expansion  . . .  46, 76
  5494.  
  5495.                    ─ W ─
  5496.  
  5497.      Wide  . . . . . . . . . . . .  15
  5498.  
  5499.      ──────────────────────────────────────────────────────────────────────
  5500.      90                                                 4Print User's Guide
  5501.  
  5502.  
  5503.                           4PRINT 4.00-U ORDER FORM
  5504.  
  5505.  
  5506.      Remit to:   Korenthal Associates, Inc.    Orders: 1-800-KA-PROGS
  5507.                  230 West 13th Street          Info:   1-212-242-1790
  5508.                  New York, New York 10011      Fax:    1-212-242-2599
  5509.                  U.S.A.                        CIS:    [76004,2605]
  5510.  
  5511.  
  5512.      4PRINT Registered Package               Qty ____ @  $49.95  $_________
  5513.  
  5514.      4PRINT Site License, 5-10 users         Qty ____ @ $250.00  $_________
  5515.  
  5516.      4PRINT Site License, 11-25 users        Qty ____ @ $550.00  $_________
  5517.      (See SITELIC.DOC for additional information)
  5518.  
  5519.                New York residents add applicable sales tax:      $_________
  5520.  
  5521.                Shipping and handling, US/Canada:  $4 per copy
  5522.                             All other countries:  $8 per copy    $_________
  5523.  
  5524.                                                         Total    $_________
  5525.  
  5526.      Payment by:  ( ) Check (U.S. funds only, drawn on a U.S. bank)
  5527.  
  5528.                   ( ) MasterCard  ( ) Visa  ( ) PO # ______________
  5529.  
  5530.      Card #: ____________________________________  Exp. Date: _____________
  5531.  
  5532.      Signature of card holder: ____________________________________________
  5533.  
  5534.  
  5535.      Name:    _____________________________________  Title: _______________
  5536.  
  5537.      Company: _____________________________________________________________
  5538.  
  5539.      Address: _____________________________________________________________
  5540.  
  5541.               _____________________________________________________________
  5542.  
  5543.               _____________________________________________________________
  5544.  
  5545.      Day Phone: ________________________  Evening: ________________________
  5546.  
  5547.      Disk format:  ( ) 5.25" acceptable  ( ) 3.5" required
  5548.  
  5549.      Where did you get your copy of 4PRINT? _______________________________
  5550.  
  5551.      Which printer do you use with 4PRINT?  _______________________________
  5552.  
  5553.      Do you have any comments or suggestions to improve 4PRINT? ___________
  5554.  
  5555.      ______________________________________________________________________
  5556.  
  5557.      [Dist: #4PR-CHANEL]
  5558.  
  5559.  
  5560.                           4PRINT 4.00-U ORDER FORM
  5561.  
  5562.  
  5563.      Remit to:   Korenthal Associates, Inc.    Orders: 1-800-KA-PROGS
  5564.                  230 West 13th Street          Info:   1-212-242-1790
  5565.                  New York, New York 10011      Fax:    1-212-242-2599
  5566.                  U.S.A.                        CIS:    [76004,2605]
  5567.  
  5568.  
  5569.      4PRINT Registered Package               Qty ____ @  $49.95  $_________
  5570.  
  5571.      4PRINT Site License, 5-10 users         Qty ____ @ $250.00  $_________
  5572.  
  5573.      4PRINT Site License, 11-25 users        Qty ____ @ $550.00  $_________
  5574.      (See SITELIC.DOC for additional information)
  5575.  
  5576.                New York residents add applicable sales tax:      $_________
  5577.  
  5578.                Shipping and handling, US/Canada:  $4 per copy
  5579.                             All other countries:  $8 per copy    $_________
  5580.  
  5581.                                                         Total    $_________
  5582.  
  5583.      Payment by:  ( ) Check (U.S. funds only, drawn on a U.S. bank)
  5584.  
  5585.                   ( ) MasterCard  ( ) Visa  ( ) PO # ______________
  5586.  
  5587.      Card #: ____________________________________  Exp. Date: _____________
  5588.  
  5589.      Signature of card holder: ____________________________________________
  5590.  
  5591.  
  5592.      Name:    _____________________________________  Title: _______________
  5593.  
  5594.      Company: _____________________________________________________________
  5595.  
  5596.      Address: _____________________________________________________________
  5597.  
  5598.               _____________________________________________________________
  5599.  
  5600.               _____________________________________________________________
  5601.  
  5602.      Day Phone: ________________________  Evening: ________________________
  5603.  
  5604.      Disk format:  ( ) 5.25" acceptable  ( ) 3.5" required
  5605.  
  5606.      Where did you get your copy of 4PRINT? _______________________________
  5607.  
  5608.      Which printer do you use with 4PRINT?  _______________________________
  5609.  
  5610.      Do you have any comments or suggestions to improve 4PRINT? ___________
  5611.  
  5612.      ______________________________________________________________________
  5613.  
  5614.      [Dist: #4PR-CHANEL]
  5615.  
  5616.